diff options
| author | Aditya Naik | 2020-02-13 16:42:56 -0500 |
|---|---|---|
| committer | Aditya Naik | 2020-02-13 16:42:56 -0500 |
| commit | 16ef3a1bb300b1272ed8837f7ddee4f1be6f0191 (patch) | |
| tree | adfc6c764c19675fedb70dcea1fc90fc4c8b653a /examples/arduino | |
| parent | 78088e78539bdd5b4948f432f4747e7e1b7b75c8 (diff) | |
Arduino improvements and STM32 comment formatting
Diffstat (limited to 'examples/arduino')
| -rw-r--r-- | examples/arduino/arduino.ino | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/arduino/arduino.ino b/examples/arduino/arduino.ino index d6d2e1a..c4af98c 100644 --- a/examples/arduino/arduino.ino +++ b/examples/arduino/arduino.ino @@ -28,7 +28,7 @@ void setup() /* Attach the default HardwareSerial class instance to this node */ modbus_dev_single.modbus_uart = &Serial; - /* Continuously read the this input register in superloop */ + /* Continuously read this input register in superloop */ reg = 30001; } @@ -49,7 +49,7 @@ MB_StatusTypeDef ArduinoSerial_Tx(void* serial, uint16_t* buf, uint8_t* len, uin _serial->write((uint8_t)*buf); } _serial->flush(); - /* Arduino HardwareSerial class does not return any errors, sadly */ + /* HardwareSerial class funcs do not return any UART errors, sadly */ return MB_OK; } @@ -58,7 +58,7 @@ MB_StatusTypeDef ArduinoSerial_Rx(void* serial, uint16_t* buf, uint8_t* len, uin HardwareSerial* _serial = static_cast<HardwareSerial*>(serial); buf = _serial->read(); - /* Arduino HardwareSerial class does not return any errors, sadly */ + /* HardwareSerial class funcs do not return any UART errors, sadly */ return MB_OK; } |
