adm34 / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

SD.begin() should return an error code on failure, not enter an infinite loop. #403

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Call SD.begin() with no SD card present, for example.
2. Notice that the code freezes.

What is the expected output? What do you see instead?

There should be some return error code instead of an infinite loop.

Original issue reported on code.google.com by dmel...@gmail.com on 14 Nov 2010 at 4:37

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 20 Nov 2010 at 8:39