Sub-GHz: Move Weather, POCSAG & TPMS to ext apps

This commit is contained in:
WillyJL
2025-06-24 04:08:16 +01:00
parent 99495b75f4
commit 9671c878bc
8 changed files with 78 additions and 65 deletions

View File

@@ -266,11 +266,11 @@ bool subghz_history_add_to_history(
SubGhzHistoryItem* item = SubGhzHistoryItemArray_push_raw(instance->history->data);
item->preset = malloc(sizeof(SubGhzRadioPreset));
item->type = decoder_base->protocol->type;
if(decoder_base->protocol->filter & SubGhzProtocolFilter_Weather) {
// Other code uses protocol type to check if signal is usable
// so we can't change the actual protocol type, we fake it here
item->type = SubGhzProtocolWeatherStation;
}
// if(decoder_base->protocol->filter & SubGhzProtocolFilter_Weather) {
// // Other code uses protocol type to check if signal is usable
// // so we can't change the actual protocol type, we fake it here
// item->type = SubGhzProtocolWeatherStation;
// }
item->preset->frequency = preset->frequency;
item->preset->name = furi_string_alloc();
furi_string_set(item->preset->name, preset->name);