fix: Update battery voltage reading and adjust path length handling in ChannelMessage

This commit is contained in:
Winston Lowe
2026-03-23 11:24:33 -07:00
parent fc7283f076
commit 0228c38621
3 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -3043,7 +3043,7 @@ class MeshCoreConnector extends ChangeNotifier {
try {
final reader = BufferReader(frame);
reader.skipBytes(1);
_batteryMillivolts = reader.readInt16LE();
_batteryMillivolts = reader.readUInt16LE();
_storageUsedKb = reader.readUInt32LE();
_storageTotalKb = reader.readUInt32LE();
final volts = (_batteryMillivolts! / 1000.0).toStringAsFixed(2);