mirror of
				https://github.com/esp8266/Arduino.git
				synced 2025-11-03 14:33:37 +03:00 
			
		
		
		
	PROGMEM compatibility changes to String (#7724)
Changed contructor to use strlen_P
This commit is contained in:
		@@ -32,7 +32,7 @@
 | 
			
		||||
String::String(const char *cstr) {
 | 
			
		||||
    init();
 | 
			
		||||
    if (cstr)
 | 
			
		||||
        copy(cstr, strlen(cstr));
 | 
			
		||||
        copy(cstr, strlen_P(cstr));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
String::String(const String &value) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user