Permalink
Browse files

can_start bugfix by DanRoad

  • Loading branch information...
gioblu committed Aug 3, 2016
1 parent 846093e commit 1c8b71ab56282fd9817f09cca29452fc4481fc3b
Showing with 1 addition and 2 deletions.
  1. +1 −2 strategies/ThroughHardwareSerial/ThroughHardwareSerial.h
@@ -43,14 +43,13 @@ class ThroughHardwareSerial {
/* Returns the Serial object value i.e. if(Serial) */
boolean can_start(uint8_t input_pin, uint8_t output_pin) {
return serial;
return *serial;
};
/* Send a byte and wait for its transmission end */
void send_byte(uint8_t b, uint8_t input_pin, uint8_t output_pin) {
uint32_t time = micros();
serial->write(b);
serial->flush();

0 comments on commit 1c8b71a

Please sign in to comment.