cleaner defines

This commit is contained in:
Andrey 2024-05-23 18:14:59 -04:00
parent aa0512f5f6
commit 051d619e16
1 changed files with 33 additions and 29 deletions

View File

@ -101,6 +101,10 @@ typedef enum
*/
#define __HAL_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = 0U)
#ifndef USE_RTOS
#define USE_RTOS 0
#endif
#if (USE_RTOS == 1)
/* Reserved for future use */
#error "USE_RTOS should be 0 in the current HAL release"