This commit is contained in:
Willy-JL
2024-06-18 00:47:01 +02:00
5 changed files with 49 additions and 26 deletions

View File

@@ -8,6 +8,7 @@ typedef enum {
//SubGhzCustomEvent
SubGhzCustomEventSceneDeleteSuccess = 100,
SubGhzCustomEventSceneDelete,
SubGhzCustomEventSceneDeleteBack,
SubGhzCustomEventSceneDeleteRAW,
SubGhzCustomEventSceneDeleteRAWBack,

View File

@@ -81,11 +81,11 @@ bool subghz_txrx_gen_data_protocol_and_te(
ret = true;
}
}
if(ret == SubGhzProtocolStatusOk) {
if(ret) {
uint32_t guard_time = 30;
if(!flipper_format_update_uint32(
instance->fff_data, "Guard_time", (uint32_t*)&guard_time, 1)) {
ret = SubGhzProtocolStatusErrorParserOthers;
ret = false;
FURI_LOG_E(TAG, "Unable to update Guard_time");
}
}