aboutsummaryrefslogtreecommitdiff
path: root/app.h
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-07-25 06:21:11 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2015-07-25 19:37:44 +0200
commita64156388fc92da1d151a1094e25d9d89240bb38 (patch)
treef65eb7c8b4d7dccb400b67ebc7b82e861ffec13c /app.h
parent77e261f12089bd7db854d21fc81a42eaa60e0b67 (diff)
downloadtrygvisio_soil_moisture-a64156388fc92da1d151a1094e25d9d89240bb38.tar.gz
trygvisio_soil_moisture-a64156388fc92da1d151a1094e25d9d89240bb38.tar.bz2
trygvisio_soil_moisture-a64156388fc92da1d151a1094e25d9d89240bb38.tar.xz
trygvisio_soil_moisture-a64156388fc92da1d151a1094e25d9d89240bb38.zip
o Cleaning up #if usage and config.h.
Diffstat (limited to 'app.h')
-rw-r--r--app.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/app.h b/app.h
index 25f834f..0f84296 100644
--- a/app.h
+++ b/app.h
@@ -1,7 +1,7 @@
#ifndef APP_H
#define APP_H
-#include "config.h"
+#include "config-check.h"
#include <stdint.h>
#include <Arduino.h>
@@ -126,7 +126,7 @@ void notify_battery_level(uint8_t value);
void on_soil_moisture_ctrl(uint8_t *data, uint8_t len);
-#if SM_DEBUG == 1
+#ifdef SM_DEBUG
void write_req(struct sm_req const &req);
void write_res(struct sm_res const &res);
#endif