mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-10-31 09:15:51 +00:00
volatile
This commit is contained in:
parent
17170ae143
commit
db64a16479
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
#include "filemanager.h"
|
#include "filemanager.h"
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <SdFat.h>
|
||||||
|
|
||||||
class TeensyFileManager : public FileManager {
|
class TeensyFileManager : public FileManager {
|
||||||
public:
|
public:
|
||||||
@ -29,9 +30,11 @@ class TeensyFileManager : public FileManager {
|
|||||||
bool _prepCache(int8_t fd);
|
bool _prepCache(int8_t fd);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool enabled;
|
volatile int8_t numCached;
|
||||||
|
|
||||||
int8_t numCached;
|
volatile SdFatSdio sd;
|
||||||
|
volatile int8_t cacheFd;
|
||||||
|
volatile FatFile cacheFile;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user