companion9x compilation

This commit is contained in:
bsongis
2012-06-19 12:36:17 +00:00
parent 831541bd61
commit f9edbd453d
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -31,8 +31,8 @@
*
*/
#include "FatFs/fattime.h"
#include "FatFs/integer.h"
#include "fattime.h"
#include "integer.h"
#define LEAP_SECONDS_POSSIBLE 0
+3 -3
View File
@@ -39,7 +39,7 @@
/*-----------------------------------------------------------------------*/
#include "../open9x.h"
#include "diskio.h"
#include "../FatFs/diskio.h"
/* Definitions for MMC/SDC command */
#define CMD0 (0) /* GO_IDLE_STATE */
@@ -488,11 +488,11 @@ DRESULT disk_write (
DRESULT disk_ioctl (
BYTE drv, /* Physical drive nmuber (0) */
BYTE ctrl, /* Control code */
BYTE *buff /* Buffer to send/receive control data */
void *buff /* Buffer to send/receive control data */
)
{
DRESULT res;
BYTE n, csd[16], *ptr = buff;
BYTE n, csd[16], *ptr = (BYTE*)buff;
WORD csize;