You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are ifdefs for USB_DEVICE_STACK for example, but whether or not you are on a wired board, it tries to read battery status. This causes the build to fail since ZMK will not be built with the zmk_event_zmk_battery_state_changed function defined.
Two simple ways to avoid:
Require some battery config in the shield's KConfig (CONFIG_ZMK_BATTERY_REPORTING maybe?)
Wrap everything battery related with ifdefs.
The text was updated successfully, but these errors were encountered:
There are ifdefs for
USB_DEVICE_STACK
for example, but whether or not you are on a wired board, it tries to read battery status. This causes the build to fail since ZMK will not be built with thezmk_event_zmk_battery_state_changed
function defined.Two simple ways to avoid:
CONFIG_ZMK_BATTERY_REPORTING
maybe?)The text was updated successfully, but these errors were encountered: