Do not exit on error when dumping battery information

This commit is contained in:
Jeremy Soller 2019-11-10 20:19:54 -07:00
parent a1de5983df
commit 7b30477009
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1

View File

@ -99,9 +99,9 @@ void battery_debug(void) {
err = smbus_read(A, V, &data); \
if (err) { \
printf("ERROR %02X\n", err); \
return; \
} \
} else { \
printf("%04X\n", data); \
} \
}
printf("Battery:\n");