diff options
author | Timotej S <6674623+underhood@users.noreply.github.com> | 2021-09-29 17:53:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-29 17:53:53 +0200 |
commit | dad48421a6b3482f9cb71973885cf1160408855f (patch) | |
tree | cc66313a014c333e8baa09d3e34f46c98e4ce96b /aclk/aclk_rx_msgs.h | |
parent | 8d0a2384412882cf9b641f17cf4e0602db4cce4d (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.h | 2 |
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 */ |