mirror of
https://protopirate.net/ProtoPirate/ProtoPirate.git
synced 2026-10-23 12:32:24 +00:00
Merge pull request 'Little Fixes and Cleanups' (#43) from RalphWiggum/ProtoPirate:little_fixes into main
Reviewed-on: http://protopirate.net/ProtoPirate/ProtoPirate/pulls/43 Reviewed-by: MMX <mmx@no-reply.protopirate.net>
This commit is contained in:
commit
ff4b2af3f1
3 files changed
+6
-7
No files matched your search
@@ -222,7 +222,6 @@ static const char* const protopirate_storage_tail_u32_fields[] = {
|
||||
"Encrypted",
|
||||
"Decrypted",
|
||||
"KIAVersion",
|
||||
"Checksum",
|
||||
};
|
||||
|
||||
static bool protopirate_storage_fail(const char* action, const char* key) {
|
||||
|
||||
+5
-5
@@ -833,9 +833,9 @@ void subghz_protocol_decoder_ford_v0_get_string(void* context, FuriString* outpu
|
||||
"Key2: %04X"
|
||||
" Sn: %08lX\r\n"
|
||||
"Cnt: %05lX"
|
||||
" Checksum: %02X"
|
||||
" CRC: %02X\r\n"
|
||||
" Btn: %02X - %s\r\n",
|
||||
" Checksum: %02X\r\n"
|
||||
"Btn: %02X - %s"
|
||||
" CRC: %02X",
|
||||
instance->generic.protocol_name,
|
||||
instance->generic.data_count_bit,
|
||||
crc_ok ? "OK" : "BAD",
|
||||
@@ -846,7 +846,7 @@ void subghz_protocol_decoder_ford_v0_get_string(void* context, FuriString* outpu
|
||||
|
||||
(unsigned long)instance->count,
|
||||
(instance->key2 >> 8) & 0xFF,
|
||||
instance->key2 & 0xFF,
|
||||
instance->button,
|
||||
button_name);
|
||||
button_name,
|
||||
instance->key2 & 0xFF);
|
||||
}
|
||||
@@ -312,7 +312,7 @@ static const uint8_t tx_power_value[TX_PRESET_VALUES_COUNT] = {
|
||||
0x0E, // -20dBm
|
||||
0x12, // -30dBm
|
||||
|
||||
// AM Power Values for 1st PA Table Byte.
|
||||
// AM Power Values for 2nd PA Table Byte.
|
||||
0xC0, // 12dBm
|
||||
0xCD, // 7dBm
|
||||
0x86, // 5dBm
|
||||
|
||||
Reference in new issue
Block a user