diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-02-28 10:54:19 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-02-28 10:54:19 +0100 |
commit | c78be523bbcdc802929ce8f6fb119836dcbf99d5 (patch) | |
tree | aeca6ed144a074f95ba91045824aec61949e773f /app.h | |
parent | ecdaa9c8112746ea2c843523358db253600b1074 (diff) | |
download | trygvisio_soil_moisture-c78be523bbcdc802929ce8f6fb119836dcbf99d5.tar.gz trygvisio_soil_moisture-c78be523bbcdc802929ce8f6fb119836dcbf99d5.tar.bz2 trygvisio_soil_moisture-c78be523bbcdc802929ce8f6fb119836dcbf99d5.tar.xz trygvisio_soil_moisture-c78be523bbcdc802929ce8f6fb119836dcbf99d5.zip |
o Creating a way to configure the code for multiple boards. Look at config.h
Diffstat (limited to 'app.h')
-rw-r--r-- | app.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1,6 +1,7 @@ #ifndef APP_H #define APP_H +#include "config.h" #include <stdint.h> #include <Arduino.h> @@ -117,10 +118,6 @@ void notify_battery_level(uint8_t value); void on_soil_moisture_ctrl(uint8_t *data, uint8_t len); -#ifndef SM_DEBUG -#define SM_DEBUG 1 -#endif - #if SM_DEBUG == 1 void write_req(struct sm_req const& req); void write_res(struct sm_res const& res); @@ -129,3 +126,4 @@ void write_res(struct sm_res const& res); #endif // vim: set ft=arduino: + |