1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#pragma once #ifndef IOS_DEVICE_ENABLE # if RGBLED_NUM <= 6 # define RGBLIGHT_LIMIT_VAL 255 # else # define RGBLIGHT_LIMIT_VAL 130 # endif # define RGBLIGHT_VAL_STEP 8 #else # if RGBLED_NUM <= 6 # define RGBLIGHT_LIMIT_VAL 90 # else # define RGBLIGHT_LIMIT_VAL 45 # endif # define RGBLIGHT_VAL_STEP 4 #endif