refactor(battery): Fire event on battery event.

This commit is contained in:
Pete Johanson
2020-11-02 00:10:21 -05:00
parent f8af592a9c
commit d5ea426975
4 changed files with 42 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
/*
* Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
#include <kernel.h>
#include <zmk/events/battery-state-changed.h>
ZMK_EVENT_IMPL(battery_state_changed);