mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-30 19:52:13 +01:00
1c25d2432f
The SDClass class makes a reference to "SD.card" instead of just "card". SD is a global instance of SDClass. This prevents any other instance of SDClass from functioning correctly. The fix also allows SDClass to be used with an SD card which is removed and replaced, whereas previously, using the global instance SD did not allow this due to the limitation of begin() which cannot be called more than once.
** SD - a slightly more friendly wrapper for sdfatlib ** This library aims to expose a subset of SD card functionality in the form of a higher level "wrapper" object. License: GNU General Public License V3 (Because sdfatlib is licensed with this.) (C) Copyright 2010 SparkFun Electronics Now better than ever with optimization, multiple file support, directory handling, etc - ladyada!