[FL-1995] New dolphin animations (part 1) (#835)
* Desktop Animation (part 1): Ugly naked ohmygod architecture
* fix butthurt, fix locked scene
* Change SD icons, fixes
* Fix level update animation
* Fixes, correct butthurt
* Clean up code
* furi_assert(0) -> furi_crash("msg")
* Gui: rename none layer to desktop, update docs.
Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
Executable → Regular
+5
@@ -7,6 +7,11 @@
|
||||
#include <gui/view.h>
|
||||
|
||||
#define POWER_OFF_TIMEOUT 90
|
||||
#define POWER_BATTERY_WELL_LEVEL 99
|
||||
|
||||
bool power_is_battery_well(PowerInfo* info) {
|
||||
return info->health > POWER_BATTERY_WELL_LEVEL;
|
||||
}
|
||||
|
||||
void power_draw_battery_callback(Canvas* canvas, void* context) {
|
||||
furi_assert(context);
|
||||
|
||||
Reference in New Issue
Block a user