mirror of https://github.com/arendst/Tasmota.git
Refactoring
This commit is contained in:
parent
9a1474c6b1
commit
6002407043
|
@ -24,12 +24,11 @@
|
||||||
* Function declarations
|
* Function declarations
|
||||||
\*********************************************************************************************/
|
\*********************************************************************************************/
|
||||||
|
|
||||||
|
// Needed for core 2.3.0 compilation (#6721)
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "user_interface.h"
|
#include "user_interface.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -74,10 +74,6 @@ bool WifiConfigCounter(void)
|
||||||
return (Wifi.config_counter);
|
return (Wifi.config_counter);
|
||||||
}
|
}
|
||||||
|
|
||||||
//extern "C" {
|
|
||||||
//#include "user_interface.h"
|
|
||||||
//}
|
|
||||||
|
|
||||||
void WifiConfig(uint8_t type)
|
void WifiConfig(uint8_t type)
|
||||||
{
|
{
|
||||||
if (!Wifi.config_type) {
|
if (!Wifi.config_type) {
|
||||||
|
|
Loading…
Reference in New Issue