mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-04 00:38:44 +05:00
format code
This commit is contained in:
1 parent
d5a92c47c7
commit
f8750373d4
8 files changed
+63
-67
No files matched your search
@@ -92,7 +92,7 @@ public:
|
||||
const byte valueLB = response & 0xFF;
|
||||
const byte valueHB = (response >> 8) & 0xFF;
|
||||
|
||||
float value = (int8_t) valueHB;
|
||||
float value = (int8_t)valueHB;
|
||||
return value + (float)valueLB / 256.0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user