aboutsummaryrefslogtreecommitdiff
path: root/app.h
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-07-25 06:06:57 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2015-07-25 17:59:08 +0200
commitb09789958501538373b1f1cbad6112fdc1d149d4 (patch)
treef24d3d8fce702ae8c07058671c7feb827aeb4917 /app.h
parentd317fdb0c737e6b1994da3f01c39937292c1e56f (diff)
downloadtrygvisio_soil_moisture-b09789958501538373b1f1cbad6112fdc1d149d4.tar.gz
trygvisio_soil_moisture-b09789958501538373b1f1cbad6112fdc1d149d4.tar.bz2
trygvisio_soil_moisture-b09789958501538373b1f1cbad6112fdc1d149d4.tar.xz
trygvisio_soil_moisture-b09789958501538373b1f1cbad6112fdc1d149d4.zip
o Reformatting with uncrustify.
Diffstat (limited to 'app.h')
-rw-r--r--app.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/app.h b/app.h
index 26e52cb..25f834f 100644
--- a/app.h
+++ b/app.h
@@ -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