mirror of
https://github.com/anklimov/lighthub
synced 2025-12-06 11:49:51 +03:00
Move some strings to flash
This commit is contained in:
@@ -477,7 +477,7 @@ void onInitialStateInitLAN() {
|
||||
#if defined(__AVR__) || defined(__SAM3X8E__)||defined(ARDUINO_ARCH_STM32F1)
|
||||
#ifdef W5500_CS_PIN
|
||||
Ethernet.w5500_cspin = W5500_CS_PIN;
|
||||
debugSerial<<"Use W5500 pin: ";
|
||||
debugSerial<<F("Use W5500 pin: ");
|
||||
debugSerial<<(Ethernet.w5500_cspin);
|
||||
#endif
|
||||
IPAddress ip, dns, gw, mask;
|
||||
@@ -553,7 +553,7 @@ void softRebootFunc(){
|
||||
|
||||
void resetHard() {
|
||||
#ifdef RESET_PIN
|
||||
debugSerial<<"Reset Arduino with digital pin ";
|
||||
debugSerial<<F("Reset Arduino with digital pin ");
|
||||
debugSerial<<QUOTE(RESET_PIN);
|
||||
delay(500);
|
||||
pinMode(RESET_PIN, OUTPUT);
|
||||
@@ -1182,7 +1182,7 @@ void printFirmwareVersionAndBuildOptions() {
|
||||
#endif
|
||||
|
||||
#ifdef RESET_PIN
|
||||
debugSerial<<"\n(+)HARDRESET on pin="<<QUOTE(RESET_PIN);
|
||||
debugSerial<<F("\n(+)HARDRESET on pin=")<<QUOTE(RESET_PIN);
|
||||
#else
|
||||
debugSerial<<F("\n(-)HARDRESET, using soft");
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user