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

Hop len fix

This commit is contained in:
assasinfil
2023-02-09 21:37:54 +03:00
parent b47174d206
commit 05be200762

View File

@@ -242,7 +242,8 @@ static bool subghz_protocol_encoder_kinggates_stylo_4k_get_upload(
true, (uint32_t)subghz_protocol_kinggates_stylo_4k_const.te_short);
}
}
for(uint8_t i = 64; i > 0; i--) {
for(uint8_t i = 36; i > 0; i--) {
if(bit_read(instance->generic.data_2, i - 1)) {
//send bit 1
instance->encoder.upload[index++] = level_duration_make(