]> granicus.if.org Git - esp-idf/commitdiff
freertos: remove semicolon in xTaskNotifyGive
authorsuda-morris <362953310@qq.com>
Thu, 26 Sep 2019 07:27:48 +0000 (15:27 +0800)
committersuda-morris <362953310@qq.com>
Tue, 8 Oct 2019 04:39:07 +0000 (12:39 +0800)
components/freertos/include/freertos/task.h

index 3fc06d9e38a0f45ab99458d016e20258ce928fb9..adefb3a854145a4246ed83d07f60b9c2fbd0a88a 100644 (file)
@@ -1962,7 +1962,7 @@ BaseType_t xTaskNotifyWait( uint32_t ulBitsToClearOnEntry, uint32_t ulBitsToClea
  *
  * \ingroup TaskNotifications
  */
-#define xTaskNotifyGive( xTaskToNotify ) xTaskNotify( ( xTaskToNotify ), 0, eIncrement );
+#define xTaskNotifyGive( xTaskToNotify ) xTaskNotify( ( xTaskToNotify ), 0, eIncrement )
 
 /**
  * Simplified macro for sending task notification from ISR.