mirror of
https://github.com/esp8266/Arduino.git
synced 2025-08-26 01:44:17 +03:00
* Code size optimisation of ESP.getResetReason() doing if/else snakes for something that is a switch/case is wasteful, as it repeatedly evaluates the same if() condition. Also repeating strcpy_P is adding code bloat. This simplification reduces size from 111 to 41 bytes. * add break statement also to default case