Browse Source

added limit to RGB brightness (#11759)

cole smith 4 năm trước cách đây
mục cha
commit
3f91b2b8f8
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      keyboards/boardsource/the_mark/config.h

+ 2 - 0
keyboards/boardsource/the_mark/config.h

@@ -51,11 +51,13 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #define RGB_DI_PIN C6
 #ifdef RGBLIGHT_ENABLE
 #define RGBLED_NUM 24    // Number of LEDs
+#define RGBLIGHT_LIMIT_VAL 200
 #endif
 
 /* RGB matrix support */
 #ifdef RGB_MATRIX_ENABLE
 #define DRIVER_LED_TOTAL 24 // Number of LEDs
+#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
 #endif
 
 /*