We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f8be57c + 6b85615 commit 979fc87Copy full SHA for 979fc87
2 files changed
STM32F1/libraries/Wire/WireBase.cpp
@@ -59,7 +59,7 @@ void WireBase::beginTransmission(int slave_address) {
59
beginTransmission((uint8)slave_address);
60
}
61
62
-uint8 WireBase::endTransmission(uint8 stop) {
+uint8 WireBase::endTransmission(bool stop) {
63
uint8 retVal;
64
if (tx_buf_overflow) {
65
return EDATA;
STM32F1/libraries/Wire/WireBase.h
@@ -91,7 +91,7 @@ class WireBase { // Abstraction is awesome!
91
* Call the process function to process the message if the TX
92
* buffer has not overflowed.
93
*/
94
- uint8 endTransmission(uint8);
+ uint8 endTransmission(bool);
95
uint8 endTransmission(void);
96
97
/*
0 commit comments