This commit is contained in:
lady ada 2020-06-30 14:10:12 -04:00
parent 780626ce54
commit 11c6b2d3ba
1 changed files with 1 additions and 5 deletions

View File

@ -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