boart test board
Dependencies: USBDevice mbed-dev lwip
Fork of USBSerial_HelloWorld by
Diff: main.cpp
- Revision:
- 15:825cce18de03
- Parent:
- 13:d838b256c7e0
- Child:
- 16:07f39e7a1cc2
--- a/main.cpp Tue Jul 24 16:09:36 2018 +0000 +++ b/main.cpp Tue Jul 24 17:37:05 2018 +0000 @@ -35,6 +35,14 @@ #define I2CADDR1 0x5F // 0xbe #define I2CADDR2 0x6B // 0xd6 +// LwIP timers support +extern "C" { + uint32_t sys_now() + { + return 0; + } + } + static I2C i2c(PB_9, PB_8);