add Flipper Zero patch
This commit is contained in:
parent
e4db908a63
commit
cf414a2b28
19
~/FlipperZero/FW Patch/10s_backlight_time.patch
Normal file
19
~/FlipperZero/FW Patch/10s_backlight_time.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
diff --git a/applications/settings/notification_settings/notification_settings_app.c b/applications/settings/notification_settings/notification_settings_app.c
|
||||||
|
index 8efbc5e0..92726655 100644
|
||||||
|
--- a/applications/settings/notification_settings/notification_settings_app.c
|
||||||
|
+++ b/applications/settings/notification_settings/notification_settings_app.c
|
||||||
|
@@ -50,12 +50,12 @@ const float volume_value[VOLUME_COUNT] = {0.0f, 0.25f, 0.5f, 0.75f, 1.0f};
|
||||||
|
const char* const delay_text[DELAY_COUNT] = {
|
||||||
|
"1s",
|
||||||
|
"5s",
|
||||||
|
- "15s",
|
||||||
|
+ "10s",
|
||||||
|
"30s",
|
||||||
|
"60s",
|
||||||
|
"120s",
|
||||||
|
};
|
||||||
|
-const uint32_t delay_value[DELAY_COUNT] = {1000, 5000, 15000, 30000, 60000, 120000};
|
||||||
|
+const uint32_t delay_value[DELAY_COUNT] = {1000, 5000, 10000, 30000, 60000, 120000};
|
||||||
|
|
||||||
|
#define VIBRO_COUNT 2
|
||||||
|
const char* const vibro_text[VIBRO_COUNT] = {
|
14
~/FlipperZero/FW Patch/set_my_name.patch
Normal file
14
~/FlipperZero/FW Patch/set_my_name.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
diff --git a/applications/settings/dolphin_passport/passport.c b/applications/settings/dolphin_passport/passport.c
|
||||||
|
index d43f150c..7fc14b6b 100644
|
||||||
|
--- a/applications/settings/dolphin_passport/passport.c
|
||||||
|
+++ b/applications/settings/dolphin_passport/passport.c
|
||||||
|
@@ -76,7 +76,8 @@ static void render_callback(Canvas* canvas, void* ctx) {
|
||||||
|
canvas_draw_line(canvas, 58, 30, 123, 30);
|
||||||
|
canvas_draw_line(canvas, 58, 44, 123, 44);
|
||||||
|
|
||||||
|
- const char* my_name = furi_hal_version_get_name_ptr();
|
||||||
|
+ // const char* my_name = furi_hal_version_get_name_ptr();
|
||||||
|
+ const char* my_name = "AlexanderPopov";
|
||||||
|
snprintf(level_str, 20, "Level: %hu", stats->level);
|
||||||
|
canvas_draw_str(canvas, 58, 12, my_name ? my_name : "Unknown");
|
||||||
|
canvas_draw_str(canvas, 58, 26, mood_str);
|
Loading…
Reference in New Issue
Block a user