From Slack, when compiling norns with -Wall -Wextra -Werror we get the following error:
../matron/src/hardware/battery.c: In function 'battery_check':
../matron/src/hardware/battery.c:71:11: error: 'present' may be used uninitialized in this function [-Werror=maybe-uninitialized]
if(n != present) {
^
../matron/src/hardware/battery.c:60:11: error: 'percent' may be used uninitialized in this function [-Werror=maybe-uninitialized]
if(n != percent) {
^
cc1: all warnings being treated as errors
From Slack, when compiling norns with
-Wall -Wextra -Werror
we get the following error: