File tree 1 file changed +8
-8
lines changed 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 39
39
#include "task.h"
40
40
#include "stream_buffer.h"
41
41
42
- #if ( configUSE_TASK_NOTIFICATIONS != 1 )
43
- #error configUSE_TASK_NOTIFICATIONS must be set to 1 to build stream_buffer.c
44
- #endif
45
-
46
- #if ( INCLUDE_xTaskGetCurrentTaskHandle != 1 )
47
- #error INCLUDE_xTaskGetCurrentTaskHandle must be set to 1 to build stream_buffer.c
48
- #endif
49
-
50
42
/* The MPU ports require MPU_WRAPPERS_INCLUDED_FROM_API_FILE to be defined
51
43
* for the header files above, but not in this file, in order to generate the
52
44
* correct privileged Vs unprivileged linkage and placement. */
58
50
* configUSE_STREAM_BUFFERS is set to 1 in FreeRTOSConfig.h. */
59
51
#if ( configUSE_STREAM_BUFFERS == 1 )
60
52
53
+ #if ( configUSE_TASK_NOTIFICATIONS != 1 )
54
+ #error configUSE_TASK_NOTIFICATIONS must be set to 1 to build stream_buffer.c
55
+ #endif
56
+
57
+ #if ( INCLUDE_xTaskGetCurrentTaskHandle != 1 )
58
+ #error INCLUDE_xTaskGetCurrentTaskHandle must be set to 1 to build stream_buffer.c
59
+ #endif
60
+
61
61
/* If the user has not provided application specific Rx notification macros,
62
62
* or #defined the notification macros away, then provide default implementations
63
63
* that uses task notifications. */
You can’t perform that action at this time.
0 commit comments