fix(shields): Fix battery warnings for custom widgets.

This commit is contained in:
Peter Johanson 2024-01-16 16:28:32 -08:00 committed by Pete Johanson
parent 8c14b155e8
commit f71458aca0
2 changed files with 4 additions and 1 deletions

View File

@ -12,8 +12,8 @@
#include <zephyr/logging/log.h>
LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL);
#include <zmk/battery.h>
#include <zmk/display.h>
#include "peripheral_status.h"
#include <zmk/events/usb_conn_state_changed.h>
#include <zmk/event_manager.h>
#include <zmk/events/battery_state_changed.h>
@ -22,6 +22,8 @@ LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL);
#include <zmk/usb.h>
#include <zmk/ble.h>
#include "peripheral_status.h"
LV_IMG_DECLARE(balloon);
LV_IMG_DECLARE(mountain);

View File

@ -11,6 +11,7 @@
#include <zephyr/logging/log.h>
LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL);
#include <zmk/battery.h>
#include <zmk/display.h>
#include "status.h"
#include <zmk/events/usb_conn_state_changed.h>