1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-12 04:34:43 +04:00

Fmt and cleanup some "if"s in protocols

This commit is contained in:
MX
2023-05-10 22:56:56 +03:00
parent cca6606c78
commit 735fe31f3b
6 changed files with 11 additions and 20 deletions

View File

@@ -197,9 +197,7 @@ static bool subghz_protocol_encoder_kinggates_stylo_4k_get_upload(
furi_assert(instance);
// Gen new key
if(subghz_protocol_kinggates_stylo_4k_gen_data(instance, btn)) {
//ToDo if you need to add a callback to automatically update the data on the display
} else {
if(!subghz_protocol_kinggates_stylo_4k_gen_data(instance, btn)) {
return false;
}