git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15125 27425a3e-05d8-49a3-a47f-9c15f0e5edd8

This commit is contained in:
Giovanni Di Sirio 2021-11-21 18:49:24 +00:00
parent a61f93feb3
commit 4dc0c2fe2b
1 changed files with 4 additions and 3 deletions

View File

@ -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_DRIVER (msg_t)-4
#define VFS_RET_INVALID_PATH (msg_t)-5
#define VFS_RET_NOT_FOUND (msg_t)-6
#define VFS_RET_EOF (msg_t)-7
/** @} */
/*===========================================================================*/