Skip to content

Commit

Permalink
There may exist code expecting this macro definition to overwrite the…
Browse files Browse the repository at this point in the history
… weak symbol.
  • Loading branch information
dok-net committed Mar 12, 2023
1 parent 3fc7d23 commit d7d7150
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cores/esp8266/Esp.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ enum RFMode {
RF_DISABLED = 4 // disable RF after deep-sleep wake up, just like modem sleep, there will be the smallest current.
};

#define RF_PRE_INIT() void __run_user_rf_pre_init()

// compatibility definitions
#define WakeMode RFMode
#define WAKE_RF_DEFAULT RF_DEFAULT
Expand Down

0 comments on commit d7d7150

Please sign in to comment.