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:
MMX committed 2026-09-16 02:04:02 -04:00
commit ff4b2af3f1
3 files changed
+6 -7

No files matched your search

-1
View File
@@ -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
View File
@@ -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);
}
+1 -1
View File
@@ -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