Change Stream to Print (#1307)

* Change Stream to Print 1/2

Update WifiManager to use base class Print instead of Stream.

I debug into a custom buffer, and that buffer implements Print, but not Stream.

* Change Stream to Print 2/2

Update WifiManager to use base class Print instead of Stream.

I debug into a custom buffer, and that buffer implements Print, but not Stream.
This commit is contained in:
Perry
2022-05-08 09:30:33 -05:00
committed by GitHub
parent 137410e184
commit e7bb9bc28e
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -199,7 +199,7 @@ int WiFiManager::getParametersCount() {
**/
// constructors
WiFiManager::WiFiManager(Stream& consolePort):_debugPort(consolePort){
WiFiManager::WiFiManager(Print& consolePort):_debugPort(consolePort){
WiFiManagerInit();
}