mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 04:34:43 +04:00
Still in progress
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
entry,status,name,type,params
|
||||
Version,+,83.1,,
|
||||
Version,+,84.1,,
|
||||
Header,+,applications/drivers/subghz/cc1101_ext/cc1101_ext_interconnect.h,,
|
||||
Header,+,applications/services/bt/bt_service/bt.h,,
|
||||
Header,+,applications/services/bt/bt_service/bt_keys_storage.h,,
|
||||
@@ -3125,6 +3125,9 @@ Function,-,putw,int,"int, FILE*"
|
||||
Function,-,qsort,void,"void*, size_t, size_t, __compar_fn_t"
|
||||
Function,-,qsort_r,void,"void*, size_t, size_t, int (*)(const void*, const void*, void*), void*"
|
||||
Function,-,quick_exit,void,int
|
||||
Function,+,rainbow_timer_start,void,RGBBacklightApp*
|
||||
Function,+,rainbow_timer_starter,void,RGBBacklightApp*
|
||||
Function,+,rainbow_timer_stop,void,RGBBacklightApp*
|
||||
Function,+,rand,int,
|
||||
Function,-,rand_r,int,unsigned*
|
||||
Function,+,random,long,
|
||||
@@ -3143,8 +3146,12 @@ Function,-,remquol,long double,"long double, long double, int*"
|
||||
Function,-,rename,int,"const char*, const char*"
|
||||
Function,-,renameat,int,"int, const char*, int, const char*"
|
||||
Function,-,rewind,void,FILE*
|
||||
Function,+,rgb_backlight_get_color_count,uint8_t,
|
||||
Function,+,rgb_backlight_get_color_text,const char*,uint8_t
|
||||
Function,+,rgb_backlight_set_static_color,void,"uint8_t, float"
|
||||
Function,+,rgb_backlight_settings_load,void,RGBBacklightSettings*
|
||||
Function,+,rgb_backlight_settings_save,void,const RGBBacklightSettings*
|
||||
Function,+,rgb_backlight_update,void,float
|
||||
Function,-,rindex,char*,"const char*, int"
|
||||
Function,-,rint,double,double
|
||||
Function,-,rintf,float,float
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
#include <furi_hal_light.h>
|
||||
#include <lp5562.h>
|
||||
#include <stdint.h>
|
||||
#include <applications/settings/notification_settings/rgb_backlight.h>
|
||||
#include "applications/services/rgb_backlight/rgb_backlight.h"
|
||||
|
||||
#define LED_CURRENT_RED (50u)
|
||||
#define LED_CURRENT_GREEN (50u)
|
||||
@@ -46,7 +46,7 @@ void furi_hal_light_set(Light light, uint8_t value) {
|
||||
uint8_t prev = lp5562_get_channel_value(&furi_hal_i2c_handle_power, LP5562ChannelWhite);
|
||||
lp5562_execute_ramp(
|
||||
&furi_hal_i2c_handle_power, LP5562Engine1, LP5562ChannelWhite, prev, value, 100);
|
||||
rgb_backlight_update(value, false);
|
||||
rgb_backlight_update(value);
|
||||
}
|
||||
furi_hal_i2c_release(&furi_hal_i2c_handle_power);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user