mirror of
				https://github.com/KevinMidboe/TinyGSM.git
				synced 2025-10-29 18:00:18 +00:00 
			
		
		
		
	De-increment sock available as we read out of sock
This commit is contained in:
		| @@ -100,7 +100,7 @@ uint32_t TinyGsmAutoBaud(T& SerialAT, uint32_t minimum = 9600, uint32_t maximum | ||||
|     DBG("Trying baud rate", rate, "..."); | ||||
|     SerialAT.begin(rate); | ||||
|     delay(10); | ||||
|     for (int i=0; i<3; i++) { | ||||
|     for (int i=0; i<10; i++) { | ||||
|       SerialAT.print("AT\r\n"); | ||||
|       String input = SerialAT.readString(); | ||||
|       if (input.indexOf("OK") >= 0) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user