mirror of https://github.com/ARMmbed/mbed-os.git
i2c_frequency() compares a uint32_t ref variable to the int hz function parameter passed in by the caller. I forced this to be an uint32_t comparison. i2c_slave_write() declared i and count variables to be of type uint32_t but used them as int type throughout the code (in comparisons and returns) so I switched them to be of signed int type. spi_frequency() contains a change similar to that made in i2c_frequency(). |
||
|---|---|---|
| .. | ||
| cmsis | ||
| hal | ||