Commit bb7d86b1 authored by Reto Da Forno's avatar Reto Da Forno
Browse files

define FW_VERSION

parent a37c6721
......@@ -48,6 +48,10 @@
#define PS_DEVICE_ID NODE_ID
#endif /* PS_DEVICE_ID */
#if !defined(FW_VERSION) && defined(FW_VERSION_MAJOR)
#define FW_VERSION (FW_VERSION_MAJOR * 10000 + FW_VERSION_MINOR * 100 + FW_VERSION_PATCH)
#endif /* FW_VERSION */
bool ps_validate_msg(dpp_message_t* msg);
uint8_t ps_compose_msg(uint16_t recipient,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment