Skip to content

IDE Compilation results on "non-void-error" in two code lines #2

@KayGundhardt

Description

@KayGundhardt

Hello Everybody,
Hi AussieMakerGeek,

I´m getting Error:

/ESP8266_MQTT_Coffee_Machine/ESP8266_MQTT_Coffee_Machine.ino: In function 'byte fromCoffeemaker(byte, byte, byte, byte)':
/ESP8266_MQTT_Coffee_Machine/ESP8266_MQTT_Coffee_Machine.ino:118:1: error: no return statement in function returning non-void [-Werror=return-type]
  118 | }
      | ^
/ESP8266_MQTT_Coffee_Machine/ESP8266_MQTT_Coffee_Machine.ino: In function 'byte toCoffeemaker(byte)':
/ESP8266_MQTT_Coffee_Machine/ESP8266_MQTT_Coffee_Machine.ino:157:1: error: no return statement in function returning non-void [-Werror=return-type]
  157 | }
      | ^

using
Arduino IDE V2.0.3
PubSubClient V2.8.0
esp8266 V3.1.1

with
NodeMCU 1.0 (ESP-12E)

Any help would be really appreciated! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions