mirror of
				https://github.com/KevinMidboe/TinyGSM.git
				synced 2025-10-29 18:00:18 +00:00 
			
		
		
		
	Extra yield in waitResponse
This commit is contained in:
		| @@ -684,6 +684,7 @@ TINY_GSM_MODEM_STREAM_UTILITIES() | ||||
|     do { | ||||
|       TINY_GSM_YIELD(); | ||||
|       while (stream.available() > 0) { | ||||
|         TINY_GSM_YIELD(); | ||||
|         int a = stream.read(); | ||||
|         if (a <= 0) continue; // Skip 0x00 bytes, just in case | ||||
|         data += (char)a; | ||||
| @@ -733,7 +734,8 @@ finish: | ||||
|       } | ||||
|       data = ""; | ||||
|     } | ||||
|     //DBG('<', index, '>'); | ||||
|     //data.replace(GSM_NL, "/"); | ||||
|     //DBG('<', index, '>', data); | ||||
|     return index; | ||||
|   } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user