Refactoring

This commit is contained in:
Theo Arends 2019-10-23 11:33:35 +02:00
parent 9a1474c6b1
commit 6002407043
2 changed files with 1 additions and 6 deletions

View File

@ -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

View File

@ -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) {