diff options
Diffstat (limited to 'app.h')
-rw-r--r-- | app.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -37,12 +37,12 @@ struct sm_get_value_req { * This includes the sensor id because it can be used as a notification too */ struct sm_get_value_res { - uint8_t sensor; + uint8_t sensor; uint16_t value; }; struct sm_set_warning_value_req { - uint8_t sensor; + uint8_t sensor; uint16_t warning_value; }; @@ -121,14 +121,14 @@ void sm_on_connect(); void sm_on_disconnect(); //boolean tx_soil_moisture(struct sm_res& res); -void notify_soil_moisture(const struct sm_res& res, uint8_t body_len); +void notify_soil_moisture(const struct sm_res &res, uint8_t body_len); void notify_battery_level(uint8_t value); void on_soil_moisture_ctrl(uint8_t *data, uint8_t len); #if SM_DEBUG == 1 -void write_req(struct sm_req const& req); -void write_res(struct sm_res const& res); +void write_req(struct sm_req const &req); +void write_res(struct sm_res const &res); #endif #endif |