summaryrefslogtreecommitdiff
path: root/src/app/i2cbench
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-05-24 08:53:15 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2019-05-24 08:53:15 +0200
commitabac017d275d8bd090d6520a5e521f26a06c03a1 (patch)
treeec7d5d1e6f451e6023b0a3a1a67528366151ac5c /src/app/i2cbench
parent86638f0ecdbfd5d5c86f664fc5717c6154a67973 (diff)
i2cbench: Do not require setOS to be set
Diffstat (limited to 'src/app/i2cbench')
-rw-r--r--src/app/i2cbench/main.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/app/i2cbench/main.cc b/src/app/i2cbench/main.cc
index 3237f67..9058e0e 100644
--- a/src/app/i2cbench/main.cc
+++ b/src/app/i2cbench/main.cc
@@ -22,16 +22,16 @@
#include "driver/mmsimple.h"
#endif
-#ifndef I2CBENCH_SETOS
-#error must define I2CBENCH_SETOS
-#endif
+//#ifndef I2CBENCH_SETOS
+//#error must define I2CBENCH_SETOS
+//#endif
void loop(void)
{
#ifdef DRIVER_LM75
- //kout.printf_float(lm75.getTemp());
- //kout << endl;
- lm75.setOS(I2CBENCH_SETOS);
+ kout.printf_float(lm75.getTemp());
+ kout << endl;
+ //lm75.setOS(I2CBENCH_SETOS);
#endif
#ifdef DRIVER_AM2320
am2320.read();