Change Wire endTransmission to have bool instead of unit8 argument - to match with the Arduino API

This commit is contained in:
Roger Clark 2017-07-20 17:43:13 +10:00
parent 24506095bb
commit 6b85615221
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ void WireBase::beginTransmission(int slave_address) {
beginTransmission((uint8)slave_address);
}
uint8 WireBase::endTransmission(uint8 stop) {
uint8 WireBase::endTransmission(bool stop) {
uint8 retVal;
if (tx_buf_overflow) {
return EDATA;

View File

@ -91,7 +91,7 @@ public:
* Call the process function to process the message if the TX
* buffer has not overflowed.
*/
uint8 endTransmission(uint8);
uint8 endTransmission(bool);
uint8 endTransmission(void);
/*