fix: bug with int part of target temperature

This commit is contained in:
GrKoR
2023-02-04 02:29:47 +04:00
parent 11a3440a56
commit ad810b1a83

View File

@@ -384,7 +384,7 @@ struct packet_small_info_body_t {
// байт 10 пакета: https://github.com/GrKoR/AUX_HVAC_Protocol#packet_cmd_11_b10 // байт 10 пакета: https://github.com/GrKoR/AUX_HVAC_Protocol#packet_cmd_11_b10
//uint8_t target_temp_int_and_v_louver; //uint8_t target_temp_int_and_v_louver;
uint8_t v_louver : 3; uint8_t v_louver : 3;
bool target_temp_int : 5; uint8_t target_temp_int : 5;
// байт 11 пакета: https://github.com/GrKoR/AUX_HVAC_Protocol#packet_cmd_11_b11 // байт 11 пакета: https://github.com/GrKoR/AUX_HVAC_Protocol#packet_cmd_11_b11