浏览代码

added limit to RGB brightness (#11759)

cole smith 4 年之前
父节点
当前提交
3f91b2b8f8
共有 1 个文件被更改,包括 2 次插入0 次删除
  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
 
 /*