Skip to content

Commit

Permalink
make it to compatible with Arduino 1.6.x
Browse files Browse the repository at this point in the history
  • Loading branch information
zenz authored Aug 8, 2016
1 parent f50aeb4 commit 7698af2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions SdBaseFile.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@
#include "SdVolume.h"
//------------------------------------------------------------------------------
/**
* \struct fpos_t
* \struct FatPos_t
* \brief internal type for istream
* do not use in user apps
*/
struct fpos_t {
struct FatPos_t {
/** stream position */
uint32_t position;
/** cluster for position */
uint32_t cluster;
fpos_t() : position(0), cluster(0) {}
FatPos_t() : position(0), cluster(0) {}
};

// use the gnu style oflag in open()
Expand Down Expand Up @@ -196,11 +196,11 @@ class SdBaseFile {
/** get position for streams
* \param[out] pos struct to receive position
*/
void getpos(fpos_t* pos);
void getpos(FatPos_t* pos);
/** set position for streams
* \param[out] pos struct with value for new position
*/
void setpos(fpos_t* pos);
void setpos(FatPos_t* pos);
//----------------------------------------------------------------------------
bool close();
bool contiguousRange(uint32_t* bgnBlock, uint32_t* endBlock);
Expand Down

0 comments on commit 7698af2

Please sign in to comment.