PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)
Fork of PokittoLib by
Diff: POKITTO_CORE/PokittoDisk.cpp
- Revision:
- 2:968589ca3484
- Parent:
- 0:e8b8f36b4505
--- a/POKITTO_CORE/PokittoDisk.cpp Mon Sep 18 12:34:05 2017 +0000 +++ b/POKITTO_CORE/PokittoDisk.cpp Tue Sep 19 08:47:36 2017 +0000 @@ -35,8 +35,7 @@ FATDIR dir; /* Directory object */ FILINFO fno; /* File information */ -static -FATFS *FatFs; /* Pointer to the file system object (logical drive) */ +//static FATFS *FatFs; /* Pointer to the file system object (logical drive) */ bool diropened=false; @@ -143,6 +142,7 @@ if (a == 0 && (fno.fattrib & 0x10) == 0) return fno.fname; if (fno.fattrib&0x10) return NULL; //its a directory } +return 0; }