clang
This commit is contained in:
parent
780626ce54
commit
11c6b2d3ba
|
|
@ -173,10 +173,7 @@ uint32_t Adafruit_BusIO_Register::read(void) {
|
||||||
* @brief Read cached data from last time we wrote to this register
|
* @brief Read cached data from last time we wrote to this register
|
||||||
* @return Returns 0xFFFFFFFF on failure, value otherwise
|
* @return Returns 0xFFFFFFFF on failure, value otherwise
|
||||||
*/
|
*/
|
||||||
uint32_t Adafruit_BusIO_Register::readCached(void) {
|
uint32_t Adafruit_BusIO_Register::readCached(void) { return _cached; }
|
||||||
return _cached;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* @brief Read a buffer of data from the register location
|
* @brief Read a buffer of data from the register location
|
||||||
|
|
@ -207,7 +204,6 @@ bool Adafruit_BusIO_Register::read(uint8_t *buffer, uint8_t len) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* @brief Read 2 bytes of data from the register location
|
* @brief Read 2 bytes of data from the register location
|
||||||
* @param value Pointer to uint16_t variable to read into
|
* @param value Pointer to uint16_t variable to read into
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue