more error string clean up

This commit is contained in:
hathach
2018-03-28 13:41:00 +07:00
parent 604275341e
commit 111065c042
5 changed files with 17 additions and 52 deletions

View File

@@ -68,3 +68,16 @@ void tusb_task(void)
#endif
}
#endif
/*------------------------------------------------------------------*/
/* Debug
*------------------------------------------------------------------*/
#if TUSB_CFG_DEBUG
char const* const tusb_strerr[TUSB_ERROR_COUNT] =
{
ERROR_TABLE(ERROR_STRING)
};
#endif