Skip to content

Commit b41e99c

Browse files
committed
Code review suggestions
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
1 parent 715ec74 commit b41e99c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

include/FreeRTOS.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,6 +1001,10 @@
10011001
#define traceSTREAM_BUFFER_RESET( xStreamBuffer )
10021002
#endif
10031003

1004+
#ifndef traceSTREAM_BUFFER_RESET_FROM_ISR
1005+
#define traceSTREAM_BUFFER_RESET_FROM_ISR( xStreamBuffer )
1006+
#endif
1007+
10041008
#ifndef traceBLOCKING_ON_STREAM_BUFFER_SEND
10051009
#define traceBLOCKING_ON_STREAM_BUFFER_SEND( xStreamBuffer )
10061010
#endif

stream_buffer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ BaseType_t xStreamBufferResetFromISR( StreamBufferHandle_t xStreamBuffer )
688688
}
689689
#endif
690690

691-
traceSTREAM_BUFFER_RESET( xStreamBuffer );
691+
traceSTREAM_BUFFER_RESET_FROM_ISR( xStreamBuffer );
692692

693693
xReturn = pdPASS;
694694
}

0 commit comments

Comments
 (0)