summaryrefslogtreecommitdiffstats
path: root/aclk/aclk_rx_msgs.h
diff options
context:
space:
mode:
authorTimotej S <6674623+underhood@users.noreply.github.com>2021-09-29 17:53:53 +0200
committerGitHub <noreply@github.com>2021-09-29 17:53:53 +0200
commitdad48421a6b3482f9cb71973885cf1160408855f (patch)
treecc66313a014c333e8baa09d3e34f46c98e4ce96b /aclk/aclk_rx_msgs.h
parent8d0a2384412882cf9b641f17cf4e0602db4cce4d (diff)
Makes New Cloud architecture optional for ACLK-NG (#11587)
ACLK-NG supports both new and old cloud protocol. Protobuf and C++ compiler are required only for new cloud protocol. There is no reason to skip building whole ACLK-NG when protobuf is missing.
Diffstat (limited to 'aclk/aclk_rx_msgs.h')
-rw-r--r--aclk/aclk_rx_msgs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/aclk/aclk_rx_msgs.h b/aclk/aclk_rx_msgs.h
index 98024d5d4e..074dc004ae 100644
--- a/aclk/aclk_rx_msgs.h
+++ b/aclk/aclk_rx_msgs.h
@@ -10,6 +10,8 @@
int aclk_handle_cloud_message(char *payload);
+#ifdef ENABLE_NEW_CLOUD_PROTOCOL
void aclk_handle_new_cloud_msg(const char *message_type, const char *msg, size_t msg_len);
+#endif
#endif /* ACLK_RX_MSGS_H */