1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-11 00:52:21 +01:00

5 Commits

Author SHA1 Message Date
Iván Pérez
e3fae38c41 Declare paths parameters as constant
This way we will avoid some warnings when using paths as constants in
#define's

`warning: deprecated conversion from string constant to 'char*'`
2015-10-19 15:55:08 +02:00
Cristian Maglie
954f59d9ce Bridge: Fixed File "duplicate definitions" when using SD and Bridge libraries together
The two File classes have been enclosed into different namespaces.

To guarantee compatibility with old sketches that uses only one of the two
libraries an additional line:

   using namespace xxxxx;

has been added so the users can still use "File" where there is no ambiguity.

BridgeLib::File and SDLib::File classes have been also aliased to BridgeFile
and SDFile respectively, users are encouraged to use that instead of File.
2015-06-30 11:49:53 +02:00
squelched
1c25d2432f SD: allow multiple SD instances
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.
2015-04-27 11:53:02 +02:00
JC Wren
12b706551d SD.c: Fix error in comment for remove()
Comment was duplicated from mkdir() and not updated.
2014-02-19 16:09:30 +01:00
Fede85
9454816162 Ethernet, SD and LiquidCrystal to the new library format 2013-06-26 19:13:04 +02:00