Permalink
Browse files

re-fixed private/public objects

  • Loading branch information...
1 parent d1ef1ea commit 092139946bfad15805f364606b0628ce1e5829d0 @ladyada ladyada committed Feb 26, 2011
Showing with 5 additions and 11 deletions.
  1. +0 −4 File.cpp
  2. +5 −7 SD.h
View
@@ -47,10 +47,6 @@ File::File(void) {
}
File::~File(void) {
- /*if (_file)
- delete _file;
- */
-
// Serial.print("Deleted file object");
}
View
12 SD.h
@@ -56,17 +56,15 @@ class File : public Stream {
class SDClass {
private:
-
- SdFile getParentDir(char *filepath, int *indx);
-
- public:
- // we should expose these since the wrapper is so thin
-
// These are required for initialisation and use of sdfatlib
SdFile root;
Sd2Card card;
SdVolume volume;
-
+
+ // my quick&dirty iterator, should be replaced
+ SdFile getParentDir(char *filepath, int *indx);
+
+ public:
// This needs to be called to set up the connection to the SD card
// before other methods are used.
boolean begin(uint8_t csPin = SD_CHIP_SELECT_PIN);

0 comments on commit 0921399

Please sign in to comment.