Fix new subghz filter system bug!!!!!

No wonder nothing was getting picked up, my bad!
Thanks @htotoo for spotting this!
--nobuild
This commit is contained in:
Willy-JL
2023-11-04 00:11:13 +00:00
parent d15cedc1b1
commit b0a57b47e9

View File

@@ -106,7 +106,7 @@ static void subghz_scene_add_to_history_callback(
SubGhz* subghz = context;
// The check can be moved to /lib/subghz/receiver.c, but may result in false positives
if((decoder_base->protocol->flag & subghz->ignore_filter) == 0) {
if((decoder_base->protocol->filter & subghz->ignore_filter) == 0) {
SubGhzHistory* history = subghz->history;
FuriString* item_name = furi_string_alloc();
FuriString* item_time = furi_string_alloc();