~aleteoryx/muditaos

a1fbd3b45d85ff437b3f4161d84e833ebee3163f — Lukasz Skrzypczak 4 years ago 785111d
[BH-653] Style fix

Style fix
1 files changed, 1 insertions(+), 1 deletions(-)

M module-bsp/board/rt1051/bsp/bell_temp_sensor/bell_temp_sensor.cpp
M module-bsp/board/rt1051/bsp/bell_temp_sensor/bell_temp_sensor.cpp => module-bsp/board/rt1051/bsp/bell_temp_sensor/bell_temp_sensor.cpp +1 -1
@@ 97,7 97,7 @@ namespace bsp::bell_temp_sensor
        uint16_t reg16 =
            (static_cast<uint16_t>(reg[0]) << 8) | (static_cast<uint16_t>(reg[1]) & 0xFFE0); // 0.25 C resolution

        uint16_t integer = (reg16 & 0x7FFF) >> 7; // remove sign bit and shift to lower byte
        uint16_t integer    = (reg16 & 0x7FFF) >> 7; // remove sign bit and shift to lower byte
        uint16_t fractional = ((reg16 >> 5) & 0x3) *
                              25; // shift fractional part to correct decimal position and limit resolution to 0.25 C