Allow instantly emulate dynamic protocols even without saving

This commit is contained in:
r3df0xx 2022-03-28 19:59:53 +03:00
parent f12faff8b0
commit 2cec90cec9

View File

@ -86,8 +86,7 @@ void subghz_scene_receiver_info_on_enter(void* context) {
}
if(((subghz->txrx->decoder_result->protocol->flag & SubGhzProtocolFlag_Send) ==
SubGhzProtocolFlag_Send) &&
subghz->txrx->decoder_result->protocol->encoder->deserialize &&
subghz->txrx->decoder_result->protocol->type == SubGhzProtocolTypeStatic) {
subghz->txrx->decoder_result->protocol->encoder->deserialize) {
widget_add_button_element(
subghz->widget,
GuiButtonTypeCenter,