Changeset 374 for asp3_tinet_ecnl_arm/trunk/ntshell/fatfs/sdfs.c
- Timestamp:
- Apr 5, 2019, 9:26:53 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asp3_tinet_ecnl_arm/trunk/ntshell/fatfs/sdfs.c
r359 r374 118 118 //#include "mbed_debug.h" 119 119 #include "mbed_wait_api.h" 120 #include "util/ntstdio.h" 121 122 extern ntstdio_t ntstdio; 123 #define debug(...) ntstdio_printf(&ntstdio, __VA_ARGS__) 124 #define debug_if(cond, ...) if(cond){ ntstdio_printf(&ntstdio, __VA_ARGS__); } 120 #include <stdio.h> 121 122 #define debug(...) printf(__VA_ARGS__) 123 #define debug_if(cond, ...) if(cond){ printf(__VA_ARGS__); } 125 124 126 125 static int sdfs_initialise_card_v1(sdfs_t *obj); … … 137 136 #define SD_DBG 0 138 137 139 sdfs_init(sdfs_t *obj, PinName mosi, PinName miso, PinName sclk, PinName cs, const char* name)138 void sdfs_init(sdfs_t *obj, PinName mosi, PinName miso, PinName sclk, PinName cs, const char* name) 140 139 { 141 140 obj->name = name;
Note:
See TracChangeset
for help on using the changeset viewer.