[PR #50] [MERGED] Fixed incompatibilities with DHT Library from https://github.com/adaf… #1565

Closed
opened 2026-02-28 01:30:41 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/tzapu/WiFiManager/pull/50
Author: @SebiPanther
Created: 1/7/2016
Status: Merged
Merged: 1/8/2016
Merged by: @tzapu

Base: masterHead: master


📝 Commits (1)

📊 Changes

2 files changed (+43 additions, -43 deletions)

View changed files

📝 WiFiManager.cpp (+42 -42)
📝 WiFiManager.h (+1 -1)

📄 Description

Hello,
i try to use your library together with the DHT library from https://github.com/adafruit/DHT-sensor-library. Just to include booth library leads to the following error:
In file included from /home/~/Arduino/WifiManagerDhtTest/WifiManagerDhtTest.ino:1:0: /home/~/Arduino/libraries/DHT_sensor_library/DHT.h:27:28: error: expected unqualified-id before '{' token #define DEBUG_PRINT(...) {} ^ /home/~/Arduino/libraries/WiFiManager/WiFiManager.h:127:10: note: in expansion of macro 'DEBUG_PRINT' void DEBUG_PRINT(Generic text); ^ exit status 1 Error compiling.
Maybe it is not your fault, but maybe you could make a easy fix. I've just replace "DEBUG_PRINT(" with "WIFIMGR_DEBUG_PRINT(" and it just worked.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/tzapu/WiFiManager/pull/50 **Author:** [@SebiPanther](https://github.com/SebiPanther) **Created:** 1/7/2016 **Status:** ✅ Merged **Merged:** 1/8/2016 **Merged by:** [@tzapu](https://github.com/tzapu) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`5dfb2e9`](https://github.com/tzapu/WiFiManager/commit/5dfb2e9ad6fa62ebd59002b1df3064b33d8ca88c) Fixed incompatibilities with DHT Library from https://github.com/adafruit/DHT-sensor-library ### 📊 Changes **2 files changed** (+43 additions, -43 deletions) <details> <summary>View changed files</summary> 📝 `WiFiManager.cpp` (+42 -42) 📝 `WiFiManager.h` (+1 -1) </details> ### 📄 Description Hello, i try to use your library together with the DHT library from https://github.com/adafruit/DHT-sensor-library. Just to include booth library leads to the following error: `In file included from /home/~/Arduino/WifiManagerDhtTest/WifiManagerDhtTest.ino:1:0: /home/~/Arduino/libraries/DHT_sensor_library/DHT.h:27:28: error: expected unqualified-id before '{' token #define DEBUG_PRINT(...) {} ^ /home/~/Arduino/libraries/WiFiManager/WiFiManager.h:127:10: note: in expansion of macro 'DEBUG_PRINT' void DEBUG_PRINT(Generic text); ^ exit status 1 Error compiling.` Maybe it is not your fault, but maybe you could make a easy fix. I've just replace "DEBUG_PRINT(" with "WIFIMGR_DEBUG_PRINT(" and it just worked. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 01:30:41 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#1565
No description provided.