@@ -401,14 +401,14 @@ static void prvIPTimerStart( IPTimer_t * pxTimer,
401401
402402 if ( xTime == ( TickType_t ) 0 )
403403 {
404- pxTimer -> bExpired = pdTRUE_UNSIGNED ;
404+ pxTimer -> bExpired = ipTRUE_BOOL ;
405405 }
406406 else
407407 {
408- pxTimer -> bExpired = pdFALSE_UNSIGNED ;
408+ pxTimer -> bExpired = ipFALSE_BOOL ;
409409 }
410410
411- pxTimer -> bActive = pdTRUE_UNSIGNED ;
411+ pxTimer -> bActive = ipTRUE_BOOL ;
412412}
413413/*-----------------------------------------------------------*/
414414
@@ -559,15 +559,15 @@ static BaseType_t prvIPTimerCheck( IPTimer_t * pxTimer )
559559 {
560560 /* The timer might have set the bExpired flag already, if not, check the
561561 * value of xTimeOut against ulRemainingTime. */
562- if ( pxTimer -> bExpired == pdFALSE_UNSIGNED )
562+ if ( pxTimer -> bExpired == ipFALSE_BOOL )
563563 {
564564 if ( xTaskCheckForTimeOut ( & ( pxTimer -> xTimeOut ), & ( pxTimer -> ulRemainingTime ) ) != pdFALSE )
565565 {
566- pxTimer -> bExpired = pdTRUE_UNSIGNED ;
566+ pxTimer -> bExpired = ipTRUE_BOOL ;
567567 }
568568 }
569569
570- if ( pxTimer -> bExpired != pdFALSE_UNSIGNED )
570+ if ( pxTimer -> bExpired != ipFALSE_BOOL )
571571 {
572572 prvIPTimerStart ( pxTimer , pxTimer -> ulReloadTime );
573573 xReturn = pdTRUE ;
@@ -591,15 +591,15 @@ static BaseType_t prvIPTimerCheck( IPTimer_t * pxTimer )
591591 */
592592 void vIPSetTCPTimerExpiredState ( BaseType_t xExpiredState )
593593 {
594- xTCPTimer .bActive = pdTRUE_UNSIGNED ;
594+ xTCPTimer .bActive = ipTRUE_BOOL ;
595595
596596 if ( xExpiredState != pdFALSE )
597597 {
598- xTCPTimer .bExpired = pdTRUE_UNSIGNED ;
598+ xTCPTimer .bExpired = ipTRUE_BOOL ;
599599 }
600600 else
601601 {
602- xTCPTimer .bExpired = pdFALSE_UNSIGNED ;
602+ xTCPTimer .bExpired = ipFALSE_BOOL ;
603603 }
604604 }
605605#endif /* if ( ipconfigUSE_TCP == 1 ) */
@@ -616,11 +616,11 @@ static BaseType_t prvIPTimerCheck( IPTimer_t * pxTimer )
616616 {
617617 if ( xEnableState != pdFALSE )
618618 {
619- xARPTimer .bActive = pdTRUE_UNSIGNED ;
619+ xARPTimer .bActive = ipTRUE_BOOL ;
620620 }
621621 else
622622 {
623- xARPTimer .bActive = pdFALSE_UNSIGNED ;
623+ xARPTimer .bActive = ipFALSE_BOOL ;
624624 }
625625 }
626626 /*-----------------------------------------------------------*/
@@ -634,11 +634,11 @@ static BaseType_t prvIPTimerCheck( IPTimer_t * pxTimer )
634634 {
635635 if ( xEnableState != pdFALSE )
636636 {
637- xARPResolutionTimer .bActive = pdTRUE_UNSIGNED ;
637+ xARPResolutionTimer .bActive = ipTRUE_BOOL ;
638638 }
639639 else
640640 {
641- xARPResolutionTimer .bActive = pdFALSE_UNSIGNED ;
641+ xARPResolutionTimer .bActive = ipFALSE_BOOL ;
642642 }
643643 }
644644#endif /* if ipconfigIS_ENABLED( ipconfigUSE_IPv4 ) */
@@ -655,11 +655,11 @@ static BaseType_t prvIPTimerCheck( IPTimer_t * pxTimer )
655655 {
656656 if ( xEnableState != pdFALSE )
657657 {
658- xNDTimer .bActive = pdTRUE_UNSIGNED ;
658+ xNDTimer .bActive = ipTRUE_BOOL ;
659659 }
660660 else
661661 {
662- xNDTimer .bActive = pdFALSE_UNSIGNED ;
662+ xNDTimer .bActive = ipFALSE_BOOL ;
663663 }
664664 }
665665 /*-----------------------------------------------------------*/
@@ -673,11 +673,11 @@ static BaseType_t prvIPTimerCheck( IPTimer_t * pxTimer )
673673 {
674674 if ( xEnableState != pdFALSE )
675675 {
676- xNDResolutionTimer .bActive = pdTRUE_UNSIGNED ;
676+ xNDResolutionTimer .bActive = ipTRUE_BOOL ;
677677 }
678678 else
679679 {
680- xNDResolutionTimer .bActive = pdFALSE_UNSIGNED ;
680+ xNDResolutionTimer .bActive = ipFALSE_BOOL ;
681681 }
682682 }
683683#endif /* if ipconfigIS_ENABLED( ipconfigUSE_IPv6 ) */
@@ -699,11 +699,11 @@ static BaseType_t prvIPTimerCheck( IPTimer_t * pxTimer )
699699 /* 'xDHCP_RATimer' is shared between DHCP (IPv4) and RA/SLAAC (IPv6). */
700700 if ( xEnableState != 0 )
701701 {
702- pxEndPoint -> xDHCP_RATimer .bActive = pdTRUE_UNSIGNED ;
702+ pxEndPoint -> xDHCP_RATimer .bActive = ipTRUE_BOOL ;
703703 }
704704 else
705705 {
706- pxEndPoint -> xDHCP_RATimer .bActive = pdFALSE_UNSIGNED ;
706+ pxEndPoint -> xDHCP_RATimer .bActive = ipFALSE_BOOL ;
707707 }
708708 }
709709#endif /* if ( ipconfigUSE_DHCP == 1 ) || ( ipconfigUSE_RA == 1 ) || ( ipconfigUSE_DHCPv6 == 1 ) */
@@ -720,11 +720,11 @@ static BaseType_t prvIPTimerCheck( IPTimer_t * pxTimer )
720720 {
721721 if ( xEnableState != 0 )
722722 {
723- xDNSTimer .bActive = pdTRUE_UNSIGNED ;
723+ xDNSTimer .bActive = ipTRUE_BOOL ;
724724 }
725725 else
726726 {
727- xDNSTimer .bActive = pdFALSE_UNSIGNED ;
727+ xDNSTimer .bActive = ipFALSE_BOOL ;
728728 }
729729 }
730730
0 commit comments