1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-13 13:09:49 +04:00

Actually working progmode, new add manually options + bonus fixes

This commit is contained in:
MX
2023-09-05 05:31:03 +03:00
parent 2a789ae1c1
commit 0eb06ba2b7
13 changed files with 208 additions and 89 deletions

View File

@@ -48,4 +48,4 @@ void subghz_custom_btn_set_prog_mode(ProgMode prog_mode) {
ProgMode subghz_custom_btn_get_prog_mode() {
return controller_programming_mode;
}
}

View File

@@ -5,7 +5,6 @@
#define PROG_MODE_OFF (0U)
#define PROG_MODE_KEELOQ_BFT (1U)
#define PROG_MODE_KEELOQ_APRIMATIC (2U)
#define PROG_MODE_FAAC_SLH (3U)
typedef uint8_t ProgMode;
@@ -15,4 +14,4 @@ void subghz_custom_btn_set_max(uint8_t b);
void subghz_custom_btn_set_prog_mode(ProgMode prog_mode);
ProgMode subghz_custom_btn_get_prog_mode();
ProgMode subghz_custom_btn_get_prog_mode();

View File

@@ -25,8 +25,6 @@ struct SubGhzBlockGeneric {
uint32_t cnt;
uint8_t cnt_2;
uint32_t seed;
bool prg_mode : 1;
bool allow_zero_seed : 1;
};
/**