SD library, file.println() timeout default.


If I open and write to a file on an SD card, but forget to put the SD card in the slot (or experience some other hardware failure). Then my code will execute each println() statement in no time at-all. I guess it has detected that the open command failed so doesn't waste time with the println().

However, if I remove the SD card after successfully opening the file, but whilst writing to it (to simulate an error) then each failed println() takes 900ms.

Can I change this to a lower value? so my process doesn't grind to a halt when if there's a failure?