SubGhz: refactoring

This commit is contained in:
gid9798
2023-05-09 15:58:56 +03:00
parent 076f6785cb
commit 4cbdbd9ef5
7 changed files with 17 additions and 9 deletions

View File

@@ -170,7 +170,7 @@ void subghz_scene_decode_raw_on_enter(void* context) {
subghz_receiver_set_rx_callback(
subghz->txrx->receiver, subghz_scene_add_to_history_callback, subghz);
subghz_receiver_set_filter(subghz->txrx->receiver, SubGhzProtocolFlag_Decodable);
subghz_txrx_receiver_set_filter(subghz->txrx, SubGhzProtocolFlag_Decodable);
if(subghz->decode_raw_state == SubGhzDecodeRawStateStart) {
//Decode RAW to history