added handling of CanData To Tasks
This commit is contained in:
15
tests/native/mock_os/fatfs.h
Normal file
15
tests/native/mock_os/fatfs.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#include "stdint.h"
|
||||
|
||||
typedef unsigned int FRESULT;
|
||||
typedef struct
|
||||
{
|
||||
void * ptr; /* data */
|
||||
}FIL;
|
||||
|
||||
FRESULT f_open (FIL* fp, const char* path, uint8_t mode); /* Open or create a file */
|
||||
FRESULT f_close (FIL* fp); /* Close an open file object */
|
||||
FRESULT f_write (FIL* fp, const void* buff, uint32_t btw, uint32_t* bw); /* Write data to the file */
|
||||
|
||||
|
||||
#define FA_CREATE_ALWAYS 0
|
||||
#define FA_WRITE 0
|
||||
Reference in New Issue
Block a user