Change Wire endTransmission to have bool instead of unit8 argument - to match with the Arduino API
This commit is contained in:
parent
24506095bb
commit
6b85615221
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue