Unverified Commit 12ab229a authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

datalogger: fix max44006 / max44009 mixup

parent e0f4d557
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)) {