mrWheel / DSMRloggerAPI

Firmware for the DSMR-logger using only API call's
MIT License
18 stars 25 forks source link

Compile fix for Wemos D1 mini board #61

Closed ProBackup-nl closed 2 years ago

ProBackup-nl commented 2 years ago

Also tested that code still compiles for Generic ESP8266 boards. Before this the compiler errors out on line 413, the closing ");" of the sendNestedJsonObj("boardtype", block. Tested with ESP8266 version 3.0.2 and Arduino 1.8.13.

mrWheel commented 2 years ago

I don’t see the point in defining and testing for all sorts of more-or-less exotic boards. All esp8266 boards can be compiled as “esp8266 generic”. The only difference with Wemos or Nodemcu and the lot is a macro definition that translates D1, D2, XYZ3 and so on and so forth to the connected GPIO pin.

just compile with board “esp8266 generic”