mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into mntm-dev
This commit is contained in:
@@ -6,12 +6,12 @@
|
||||
#include <momentum/momentum.h>
|
||||
#include <rgb_backlight.h>
|
||||
|
||||
#define LED_CURRENT_RED 50
|
||||
#define LED_CURRENT_GREEN 50
|
||||
#define LED_CURRENT_BLUE 50
|
||||
#define LED_CURRENT_WHITE 150
|
||||
#define LED_CURRENT_RED (50u)
|
||||
#define LED_CURRENT_GREEN (50u)
|
||||
#define LED_CURRENT_BLUE (50u)
|
||||
#define LED_CURRENT_WHITE (150u)
|
||||
|
||||
void furi_hal_light_init() {
|
||||
void furi_hal_light_init(void) {
|
||||
furi_hal_i2c_acquire(&furi_hal_i2c_handle_power);
|
||||
|
||||
lp5562_reset(&furi_hal_i2c_handle_power);
|
||||
@@ -71,7 +71,7 @@ void furi_hal_light_blink_start(Light light, uint8_t brightness, uint16_t on_tim
|
||||
furi_hal_i2c_release(&furi_hal_i2c_handle_power);
|
||||
}
|
||||
|
||||
void furi_hal_light_blink_stop() {
|
||||
void furi_hal_light_blink_stop(void) {
|
||||
furi_hal_i2c_acquire(&furi_hal_i2c_handle_power);
|
||||
lp5562_set_channel_src(
|
||||
&furi_hal_i2c_handle_power,
|
||||
|
||||
Reference in New Issue
Block a user