Configure ThingSet pub messages via Kconfig and enable by default

This commit is contained in:
Martin Jäger
2021-04-08 09:39:38 +02:00
parent faf3bde214
commit b4483129c2
2 changed files with 12 additions and 2 deletions
+2 -2
View File
@@ -48,10 +48,10 @@ static char auth_password[11];
#define solar_bus lv_bus
#endif
bool pub_serial_enable = false;
bool pub_serial_enable = IS_ENABLED(CONFIG_THINGSET_SERIAL_PUB_DEFAULT);
#if CONFIG_THINGSET_CAN
bool pub_can_enable = false;
bool pub_can_enable = IS_ENABLED(CONFIG_THINGSET_CAN_PUB_DEFAULT);
uint16_t can_node_addr = CONFIG_THINGSET_CAN_DEFAULT_NODE_ID;
#endif