From c78be523bbcdc802929ce8f6fb119836dcbf99d5 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sat, 28 Feb 2015 10:54:19 +0100 Subject: o Creating a way to configure the code for multiple boards. Look at config.h --- app.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'app.h') diff --git a/app.h b/app.h index e0ef6e9..6c48aa4 100644 --- a/app.h +++ b/app.h @@ -1,6 +1,7 @@ #ifndef APP_H #define APP_H +#include "config.h" #include #include @@ -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: + -- cgit v1.2.3