PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)
Dependents: YATTT sd_map_test cPong SnowDemo ... more
PokittoLib
Library for programming Pokitto hardware
How to Use
- Import this library to online compiler (see button "import" on the right hand side
- DO NOT import mbed-src anymore, a better version is now included inside PokittoLib
- Change My_settings.h according to your project
- Start coding!
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; }