mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-12 11:58:36 -07:00
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
This commit is contained in:
Binary file not shown.
@@ -761,7 +761,13 @@ bool subghz_scene_set_type_on_event(void* context, SceneManagerEvent event) {
|
||||
break;
|
||||
case SubmenuIndexDeaMio433:
|
||||
generated_protocol = subghz_txrx_gen_keeloq_protocol(
|
||||
subghz->txrx, "AM650", 433920000, key & 0x00FFFFFF, 0x2, 0x0003, "Dea_Mio");
|
||||
subghz->txrx,
|
||||
"AM650",
|
||||
433920000,
|
||||
(key & 0x0FFFF000) | 0x00000869,
|
||||
0x2,
|
||||
0x0003,
|
||||
"Dea_Mio");
|
||||
if(!generated_protocol) {
|
||||
furi_string_set(
|
||||
subghz->error_str, "Function requires\nan SD card with\nfresh databases.");
|
||||
|
||||
@@ -20,8 +20,11 @@ static const NotificationSequence sequence_note_c = {
|
||||
NULL,
|
||||
};
|
||||
|
||||
#define CONTRAST_COUNT 11
|
||||
#define CONTRAST_COUNT 17
|
||||
const char* const contrast_text[CONTRAST_COUNT] = {
|
||||
"-8",
|
||||
"-7",
|
||||
"-6",
|
||||
"-5",
|
||||
"-4",
|
||||
"-3",
|
||||
@@ -33,8 +36,14 @@ const char* const contrast_text[CONTRAST_COUNT] = {
|
||||
"+3",
|
||||
"+4",
|
||||
"+5",
|
||||
"+6",
|
||||
"+7",
|
||||
"+8",
|
||||
};
|
||||
const int32_t contrast_value[CONTRAST_COUNT] = {
|
||||
-8,
|
||||
-7,
|
||||
-6,
|
||||
-5,
|
||||
-4,
|
||||
-3,
|
||||
@@ -46,6 +55,9 @@ const int32_t contrast_value[CONTRAST_COUNT] = {
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
7,
|
||||
8,
|
||||
};
|
||||
|
||||
#define BACKLIGHT_COUNT 21
|
||||
|
||||
Reference in New Issue
Block a user