git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15125 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
a61f93feb3
commit
4dc0c2fe2b
|
@ -33,15 +33,16 @@
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Error codes compatible with @p msg_t
|
* @name Error codes compatible with HAL streams
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
#define VFS_RET_SUCCESS MSG_OK
|
#define VFS_RET_SUCCESS STM_OK
|
||||||
|
#define VFS_RET_TIMEOUT STM_TIMEOUT
|
||||||
|
#define VFS_RET_EOF STM_RESET
|
||||||
#define VFS_RET_NO_RESOURCE (msg_t)-3
|
#define VFS_RET_NO_RESOURCE (msg_t)-3
|
||||||
#define VFS_RET_NO_DRIVER (msg_t)-4
|
#define VFS_RET_NO_DRIVER (msg_t)-4
|
||||||
#define VFS_RET_INVALID_PATH (msg_t)-5
|
#define VFS_RET_INVALID_PATH (msg_t)-5
|
||||||
#define VFS_RET_NOT_FOUND (msg_t)-6
|
#define VFS_RET_NOT_FOUND (msg_t)-6
|
||||||
#define VFS_RET_EOF (msg_t)-7
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
Loading…
Reference in New Issue