Skip to content

Commit

Permalink
Fixes #14
Browse files Browse the repository at this point in the history
  • Loading branch information
epsilonrt committed Feb 1, 2019
1 parent d11ce33 commit ef21fc4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/piduino/arduino/Wire.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ class TwoWire : public Piduino::I2cDev {
close();
}
void setClock (uint32_t dummy) {}
inline byte endTransmission (bool stop = true) {
return I2cDev::endTransmission (stop) ? 0 : 4;
}
int requestFrom (uint16_t address, uint16_t quantity, uint32_t iaddress, uint8_t isize, uint8_t sendStop);
inline int requestFrom (uint16_t slave, uint16_t max, bool stop = true) {
return Piduino::I2cDev::requestFrom (slave, max, stop);
Expand Down

0 comments on commit ef21fc4

Please sign in to comment.