Timeline for How to fix memory-leak code in ESP8266/NodeMCU caused by string concenation?
Current License: CC BY-SA 4.0
        8 events
    
    | when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 8, 2021 at 13:18 | answer | added | jack | timeline score: 0 | |
| May 20, 2020 at 5:59 | vote | accept | Frodik | ||
| May 19, 2020 at 12:54 | comment | added | Edgar Bonet | 
        
            
    Re if ((last_weight_time < millis() - 1000)): This can fail badly if last_weight_time is right before a millis() rollover event. Use instead the idiom if (millis() - last_weight_time > 1000), which is rollover safe.
        
     | 
|
| May 19, 2020 at 6:32 | answer | added | hcheung | timeline score: 3 | |
| May 18, 2020 at 12:35 | answer | added | Duncan C | timeline score: 1 | |
| May 18, 2020 at 12:09 | comment | added | Majenko | majenko.co.uk/blog/evils-arduino-strings | |
| May 18, 2020 at 12:06 | comment | added | chrisl | 
        
            
    Just don't use String, but char arrays instead
        
     | 
|
| May 18, 2020 at 12:01 | history | asked | Frodik | CC BY-SA 4.0 |