Skip to content

Commit 23de161

Browse files
committed
main: Fix data type for button channel
The button channel now uses struct button_msg. Signed-off-by: Jan Tore Guggedal <jantore.guggedal@nordicsemi.no>
1 parent 5117e25 commit 23de161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ ZBUS_CHAN_DEFINE(TIMER_CHAN,
5151
*/
5252
#define CHANNEL_LIST(X) \
5353
X(CLOUD_CHAN, struct cloud_msg) \
54-
X(BUTTON_CHAN, uint8_t) \
54+
X(BUTTON_CHAN, struct button_msg) \
5555
X(FOTA_CHAN, enum fota_msg_type) \
5656
X(NETWORK_CHAN, struct network_msg) \
5757
X(LOCATION_CHAN, enum location_msg_type) \

0 commit comments

Comments
 (0)