Move RGBLIGHT_SLEEP to data driven (#21072)

This commit is contained in:
Ryan 2023-06-16 14:04:45 +10:00 committed by GitHub
parent 579db6131e
commit 2367d8129c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
805 changed files with 991 additions and 563 deletions

View file

@ -15,7 +15,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* RGB light setup*/
#define RGBLED_NUM 2
#define RGBLIGHT_SLEEP
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17
#define RGBLIGHT_VAL_STEP 17

View file

@ -11,7 +11,8 @@
"pin": "B5"
},
"rgblight": {
"max_brightness": 200
"max_brightness": 200,
"sleep": true
},
"matrix_pins": {
"cols": ["B4", "B7", "C7"],