We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c749923 commit 6e2269aCopy full SHA for 6e2269a
src/OpenStreetMap-esp32.hpp
@@ -116,7 +116,7 @@ class OpenStreetMap
116
static void tileFetcherTask(void *param);
117
static void PNGDraw(PNGDRAW *pDraw);
118
119
- static inline OpenStreetMap *currentInstance = nullptr;
+ static inline thread_local OpenStreetMap *currentInstance = nullptr;
120
static inline thread_local uint16_t *currentTileBuffer = nullptr;
121
const TileProvider *currentProvider = &tileProviders[0];
122
std::vector<CachedTile> tilesCache;
0 commit comments