Skip to content
Snippets Groups Projects
Commit abac017d authored by Daniel Friesel's avatar Daniel Friesel
Browse files

i2cbench: Do not require setOS to be set

parent 86638f0e
No related branches found
No related tags found
No related merge requests found
...@@ -22,16 +22,16 @@ ...@@ -22,16 +22,16 @@
#include "driver/mmsimple.h" #include "driver/mmsimple.h"
#endif #endif
#ifndef I2CBENCH_SETOS //#ifndef I2CBENCH_SETOS
#error must define I2CBENCH_SETOS //#error must define I2CBENCH_SETOS
#endif //#endif
void loop(void) void loop(void)
{ {
#ifdef DRIVER_LM75 #ifdef DRIVER_LM75
//kout.printf_float(lm75.getTemp()); kout.printf_float(lm75.getTemp());
//kout << endl; kout << endl;
lm75.setOS(I2CBENCH_SETOS); //lm75.setOS(I2CBENCH_SETOS);
#endif #endif
#ifdef DRIVER_AM2320 #ifdef DRIVER_AM2320
am2320.read(); am2320.read();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment