From 6e011d6d9ca1c2629ae8b0acbfb7a49a86a62911 Mon Sep 17 00:00:00 2001 From: Cellie Date: Sat, 24 May 2025 11:53:56 +0200 Subject: [PATCH] Fix the example code --- README.md | 4 ++-- examples/osm-basic-example/osm-basic-example.ino | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 11d204c..2170cef 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ bool fetchMap(LGFX_Sprite &map, double longitude, double latitude, uint8_t zoom) #include #include -#include +#include const char *ssid = "xxx"; const char *password = "xxx"; @@ -144,7 +144,7 @@ void loop() #include "LGFX_ESP32_8048S050C.hpp" // replace with your panel config -#include +#include const char *ssid = "xxx"; const char *password = "xxx"; diff --git a/examples/osm-basic-example/osm-basic-example.ino b/examples/osm-basic-example/osm-basic-example.ino index 461c2a9..4ffbf33 100644 --- a/examples/osm-basic-example/osm-basic-example.ino +++ b/examples/osm-basic-example/osm-basic-example.ino @@ -7,7 +7,7 @@ #include #include -#include +#include const char *ssid = "xxx"; const char *password = "xxx";