summaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-12-29 17:46:38 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-12-29 17:46:38 +0100
commit12ab229a742cf8121527592d585a9b270752d461 (patch)
tree4be4bbb7afb88714a329d229917635848314d9d3 /src/app
parente0f4d557483de820844a3096c91eb5fa6a5d9e7d (diff)
datalogger: fix max44006 / max44009 mixup
Diffstat (limited to 'src/app')
-rw-r--r--src/app/datalogger/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/datalogger/main.cc b/src/app/datalogger/main.cc
index 9083825..bf34b10 100644
--- a/src/app/datalogger/main.cc
+++ b/src/app/datalogger/main.cc
@@ -154,7 +154,7 @@ void loop(void)
kout << "Magnet Z " << mz << endl;
#endif
-#ifdef CONFIG_driver_max44009
+#ifdef CONFIG_driver_max44006
kout << "MAX44006 Temperature: " << max44006.getTemperature() << " counts" << endl;
float r, g, b, c, ir;
if (max44006.getLight(&r, &g, &b, &c, &ir)) {