This commit is contained in:
assasinfil 2023-02-11 20:09:36 +03:00
parent f86582b99e
commit 92d55ec90f
No known key found for this signature in database
GPG Key ID: E5C793A4B4737A16

View File

@ -186,7 +186,7 @@ static void subghz_protocol_encoder_nice_flor_s_get_upload(
add_data[7] = 0; add_data[7] = 0;
add_data[8] = 0; add_data[8] = 0;
add_data[9] = 0; add_data[9] = 0;
subghz_protocol_nice_one_get_data(add_data, i, 0); subghz_protocol_nice_one_get_data(add_data, i, 1);
for(size_t j = 6; j < 9; j++) { for(size_t j = 6; j < 9; j++) {
instance->generic.data_2 = instance->generic.data_2 << 8 | add_data[j]; instance->generic.data_2 = instance->generic.data_2 << 8 | add_data[j];
} }