Skip to content

Commit

Permalink
fix(zephyr): update new includes
Browse files Browse the repository at this point in the history
  • Loading branch information
ReFil committed May 30, 2023
1 parent 5b396a5 commit 493537a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion app/src/events/led_indicator_changed.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT
*/

#include <kernel.h>
#include <zephyr/kernel.h>
#include <zmk/events/led_indicator_changed.h>

ZMK_EVENT_IMPL(zmk_led_changed);
10 changes: 5 additions & 5 deletions app/src/led_indicators.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
* SPDX-License-Identifier: MIT
*/

#include <kernel.h>
#include <device.h>
#include <init.h>
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/init.h>

#include <logging/log.h>
#include <drivers/led.h>
#include <zephyr/logging/log.h>
#include <zephyr/drivers/led.h>

#include <zmk/event_manager.h>
#include <zmk/led_indicators.h>
Expand Down
4 changes: 2 additions & 2 deletions app/src/led_indicators_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
* SPDX-License-Identifier: MIT
*/

#include <kernel.h>
#include <logging/log.h>
#include <zephyr/kernel.h>
#include <zephyr/logging/log.h>

#include <zmk/ble.h>
#include <zmk/endpoints.h>
Expand Down
1 change: 0 additions & 1 deletion app/src/split/bluetooth/central.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL);
#include <zmk/event_manager.h>
#include <zmk/events/position_state_changed.h>
#include <zmk/events/split_peripheral_status_changed.h>
#include <init.h>

static int start_scan(void);

Expand Down

0 comments on commit 493537a

Please sign in to comment.