Janky config save/load. Fine for builtin modes

This commit is contained in:
Luke
2020-04-16 21:55:49 +12:00
parent 0a88b5b20a
commit 5f8ea365ef
7 changed files with 106 additions and 4 deletions
+1
View File
@@ -127,6 +127,7 @@ impl RogCore {
}
pub fn aura_brightness_bytes(brightness: u8) -> Result<[u8; 17], Error> {
// TODO: check brightness range
let mut bright = [0u8; LED_MSG_LEN];
bright[0] = 0x5a;
bright[1] = 0xba;