summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)) {