Skip to content

Commit

Permalink
zephyrSerial.h - reduce compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
KurtE committed Dec 4, 2024
1 parent 5c4e10e commit a565a0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cores/arduino/zephyrSerial.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ namespace arduino {
class ZephyrSerialStub : public HardwareSerial
{
public:
void begin(unsigned long baudRate) { }
void begin(unsigned long baudrate, uint16_t config) { }
void begin(__attribute__((unused)) unsigned long baudRate) { }
void begin(__attribute__((unused)) unsigned long baudrate, __attribute__((unused)) uint16_t config) { }
void end() { }
int available() { return 0; }
int peek() { return 0; }
Expand Down

0 comments on commit a565a0a

Please sign in to comment.