Closed i998 closed 2 years ago
warning: no return statement
size_t write(const uint8* buf, int nr) { write((uint8*)buf,nr);
The compiler's not wrong.
Seems like this was added recently in https://github.com/rogerclarkmelbourne/Arduino_STM32/commit/098a98c30e01eeb3f1cf9e9589a74a9263251e7c
I updated my copy of Arduino_STM32 to the latest version from the repository and I started getting the following compile warnings on the code that uses I2C - including I2C examples, my old code that compiled normally before etc. Target board is Maple Mini. Arduino IDE 1.8.19. OS is Win7.
On restoring my old copy of Arduino_STM32 from approx Feb2021 to C:\Users\UserA\Documents\Arduino\hardware these errors stoped appearing.
Here is the output for example i2c_scanner_wire from the repository examples:
Could someone have a look please?