Browse Source
Merge pull request #1385 from mcspr/deprecated-define
Add warning about TELNET_PASSWORD
sensors
Xose Pérez
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
10 additions and
0 deletions
-
code/espurna/config/all.h
-
code/espurna/config/deprecated.h
|
@ -28,6 +28,7 @@ |
|
|
#include "arduino.h" |
|
|
#include "arduino.h" |
|
|
#include "hardware.h" |
|
|
#include "hardware.h" |
|
|
#include "defaults.h" |
|
|
#include "defaults.h" |
|
|
|
|
|
#include "deprecated.h" |
|
|
#include "general.h" |
|
|
#include "general.h" |
|
|
#include "dependencies.h" |
|
|
#include "dependencies.h" |
|
|
#include "debug.h" |
|
|
#include "debug.h" |
|
|
|
@ -0,0 +1,9 @@ |
|
|
|
|
|
#pragma once |
|
|
|
|
|
|
|
|
|
|
|
// 1.13.3 added TELNET_PASSWORD build-only flag |
|
|
|
|
|
// 1.13.4 replaces it with TELNET_AUTHENTICATION runtime setting default |
|
|
|
|
|
// TODO warning should be removed eventually |
|
|
|
|
|
#ifdef TELNET_PASSWORD |
|
|
|
|
|
#warning TELNET_PASSWORD is deprecated! Please replace it with TELNET_AUTHENTICATION |
|
|
|
|
|
#define TELNET_AUTHENTICATION TELNET_PASSWORD |
|
|
|
|
|
#endif |