mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 04:34:43 +04:00
Start moving RGB MOD from Notification to RGB MOD service.
This commit is contained in:
@@ -58,7 +58,7 @@ void SK6805_set_led_color(uint8_t led_index, uint8_t r, uint8_t g, uint8_t b) {
|
||||
void SK6805_update(void) {
|
||||
SK6805_init();
|
||||
FURI_CRITICAL_ENTER();
|
||||
furi_delay_us(150);
|
||||
furi_delay_us(100);
|
||||
uint32_t end;
|
||||
/* Последовательная отправка цветов светодиодов */
|
||||
for(uint8_t lednumber = 0; lednumber < SK6805_LED_COUNT; lednumber++) {
|
||||
@@ -98,6 +98,6 @@ void SK6805_update(void) {
|
||||
}
|
||||
}
|
||||
}
|
||||
furi_delay_us(150);
|
||||
furi_delay_us(100);
|
||||
FURI_CRITICAL_EXIT();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user