diff options
author | uvok | 2025-08-02 18:56:34 +0200 |
---|---|---|
committer | uvok | 2025-08-02 19:00:02 +0200 |
commit | 98baf20860831957285a6d2acca1680bae15124f (patch) | |
tree | afe4265bd66cb0f7edb5d2137b528ce6a473f1fa /src/ble.cpp | |
parent | b3027f3fd49e64d19a5054831117e4598f491ab9 (diff) |
Prepare having a display indicator
Diffstat (limited to 'src/ble.cpp')
-rw-r--r-- | src/ble.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ble.cpp b/src/ble.cpp index ff38b18..a7bb73b 100644 --- a/src/ble.cpp +++ b/src/ble.cpp @@ -127,9 +127,9 @@ de::uvok::badge::ble_poll_result_t de::uvok::badge::ble_poll(void) { const uint8_t val = value_changed.value; value_changed.changed = false; - return (ble_poll_result_t){.has_data = true, .new_template = val}; + return (ble_poll_result_t){.action_type = BleActionType::Template, .new_template = val}; } - return (ble_poll_result_t){.has_data = false}; + return (ble_poll_result_t){.action_type = BleActionType::None}; } void de::uvok::badge::ble_set_image(uint8_t image) |