Skip to content

Commit faa2878

Browse files
committed
Code review suggestions
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
1 parent 4dc217d commit faa2878

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

include/FreeRTOS.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -765,16 +765,16 @@
765765
#define traceQUEUE_SET_SEND traceQUEUE_SEND
766766
#endif
767767

768-
#ifndef traceQUEUE_SEND_EXT
769-
/* Extended version of traceQUEUE_SEND that also reports the copy position
770-
* of the sent data. */
771-
#define traceQUEUE_SEND_EXT( pxQueue, xCopyPosition ) traceQUEUE_SEND( pxQueue )
772-
#endif
773-
774768
#ifndef traceQUEUE_SEND
775769
#define traceQUEUE_SEND( pxQueue )
776770
#endif
777771

772+
/* Extended version of traceQUEUE_SEND that also reports the copy position
773+
* of the sent data. */
774+
#ifndef traceQUEUE_SEND_EXT
775+
#define traceQUEUE_SEND_EXT( pxQueue, xCopyPosition ) traceQUEUE_SEND( pxQueue )
776+
#endif
777+
778778
#ifndef traceQUEUE_SEND_FAILED
779779
#define traceQUEUE_SEND_FAILED( pxQueue )
780780
#endif
@@ -799,16 +799,16 @@
799799
#define traceQUEUE_RECEIVE_FAILED( pxQueue )
800800
#endif
801801

802-
#ifndef traceQUEUE_SEND_FROM_ISR_EXT
803-
/* Extended version of traceQUEUE_SEND_FROM_ISR that also reports the copy
804-
* position of the sent data. */
805-
#define traceQUEUE_SEND_FROM_ISR_EXT( pxQueue, xCopyPosition ) traceQUEUE_SEND_FROM_ISR( pxQueue )
806-
#endif
807-
808802
#ifndef traceQUEUE_SEND_FROM_ISR
809803
#define traceQUEUE_SEND_FROM_ISR( pxQueue )
810804
#endif
811805

806+
/* Extended version of traceQUEUE_SEND_FROM_ISR that also reports the copy
807+
* position of the sent data. */
808+
#ifndef traceQUEUE_SEND_FROM_ISR_EXT
809+
#define traceQUEUE_SEND_FROM_ISR_EXT( pxQueue, xCopyPosition ) traceQUEUE_SEND_FROM_ISR( pxQueue )
810+
#endif
811+
812812
#ifndef traceQUEUE_SEND_FROM_ISR_FAILED
813813
#define traceQUEUE_SEND_FROM_ISR_FAILED( pxQueue )
814814
#endif

0 commit comments

Comments
 (0)