fix: Address review comments
This commit is contained in:
parent
e4ae6b5b33
commit
7f5b6cfdea
4 changed files with 3 additions and 3 deletions
|
@ -59,7 +59,7 @@ if ((NOT CONFIG_ZMK_SPLIT) OR CONFIG_ZMK_SPLIT_ROLE_CENTRAL)
|
||||||
target_sources(app PRIVATE src/behavior_queue.c)
|
target_sources(app PRIVATE src/behavior_queue.c)
|
||||||
target_sources(app PRIVATE src/conditional_layer.c)
|
target_sources(app PRIVATE src/conditional_layer.c)
|
||||||
target_sources(app PRIVATE src/endpoints.c)
|
target_sources(app PRIVATE src/endpoints.c)
|
||||||
target_sources(app PRIVATE src/events/endpoint_selection_changed.c)
|
target_sources(app PRIVATE src/events/endpoint_changed.c)
|
||||||
target_sources(app PRIVATE src/hid_listener.c)
|
target_sources(app PRIVATE src/hid_listener.c)
|
||||||
target_sources(app PRIVATE src/keymap.c)
|
target_sources(app PRIVATE src/keymap.c)
|
||||||
target_sources(app PRIVATE src/events/layer_state_changed.c)
|
target_sources(app PRIVATE src/events/layer_state_changed.c)
|
||||||
|
|
|
@ -41,7 +41,6 @@ struct output_status_state {
|
||||||
struct zmk_endpoint_instance selected_endpoint;
|
struct zmk_endpoint_instance selected_endpoint;
|
||||||
bool active_profile_connected;
|
bool active_profile_connected;
|
||||||
bool active_profile_bonded;
|
bool active_profile_bonded;
|
||||||
uint8_t active_profile_index;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct output_status_state get_state(const zmk_event_t *_eh) {
|
static struct output_status_state get_state(const zmk_event_t *_eh) {
|
||||||
|
@ -50,7 +49,6 @@ static struct output_status_state get_state(const zmk_event_t *_eh) {
|
||||||
.active_profile_connected = zmk_ble_active_profile_is_connected(),
|
.active_profile_connected = zmk_ble_active_profile_is_connected(),
|
||||||
.active_profile_bonded = !zmk_ble_active_profile_is_open(),
|
.active_profile_bonded = !zmk_ble_active_profile_is_open(),
|
||||||
};
|
};
|
||||||
;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void set_status_symbol(lv_obj_t *icon, struct output_status_state state) {
|
static void set_status_symbol(lv_obj_t *icon, struct output_status_state state) {
|
||||||
|
|
|
@ -7,6 +7,8 @@
|
||||||
#include <zephyr/init.h>
|
#include <zephyr/init.h>
|
||||||
#include <zephyr/settings/settings.h>
|
#include <zephyr/settings/settings.h>
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <zmk/ble.h>
|
#include <zmk/ble.h>
|
||||||
#include <zmk/endpoints.h>
|
#include <zmk/endpoints.h>
|
||||||
#include <zmk/hid.h>
|
#include <zmk/hid.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue