Skip to content

Problems compiling latest 2.0.6 #55

@swapper82

Description

@swapper82

Getting compiler errors, no idea if this is only on my side.

sonoff:1370: error: 'class HardwareSerial' has no member named 'baudRate'

  if (Serial.baudRate() != Baudrate) {

             ^

exit status 1
'class HardwareSerial' has no member named 'baudRate'
 if (Serial.baudRate() != Baudrate) {
    snprintf_P(log, sizeof(log), PSTR("APP: Need to change baudrate to %d"), Baudrate);
    addLog(LOG_LEVEL_INFO, log);
    delay(100);
    Serial.flush();
    Serial.begin(Baudrate);
    delay(10);
    Serial.println();
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions