Part Number: MSP-EXP432P4111
Tool/software: Code Composer Studio
on Linux 16.04 and CCS Version: 8.0.0.00016, MSP-EXP432P4111
The following code give a ULP 5.4 warning where count is incremented:
#include "msp.h"
uint16_t testResult = 0;
void main(void)
{
uint8_t count = 0;
WDT_A->CTL = WDT_A_CTL_PW | WDT_A_CTL_HOLD; // stop watchdog timer
while (1)
{
count++;
if (count == 3)
{
testResult = 1;
}
}
}
What does this mean ? How could I improve the code to honour the advice ?
Is this the same issue as this ?
Regards
Peter

