mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-18 10:51:54 +03:00
Hop fix
This commit is contained in:
parent
a551317cc2
commit
d9f6b02da5
@ -246,7 +246,7 @@ static bool subghz_protocol_encoder_kinggates_stylo_4k_get_upload(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for(uint8_t i = 36; i > 4; i--) {
|
for(uint8_t i = 36; i > 0; i--) {
|
||||||
if(bit_read(instance->generic.data_2, i - 1)) {
|
if(bit_read(instance->generic.data_2, i - 1)) {
|
||||||
//send bit 1
|
//send bit 1
|
||||||
instance->encoder.upload[index++] = level_duration_make(
|
instance->encoder.upload[index++] = level_duration_make(
|
||||||
|
Loading…
Reference in New Issue
Block a user