static analysis: add comments to empty while loops

This commit is contained in:
Joey Castillo
2022-04-10 15:07:58 -04:00
parent 7b06d7d6fd
commit 405f010ade
3 changed files with 5 additions and 5 deletions

View File

@@ -36,7 +36,7 @@ static uint16_t _watch_get_analog_value(uint16_t channel) {
}
ADC->SWTRIG.bit.START = 1;
while (!ADC->INTFLAG.bit.RESRDY);
while (!ADC->INTFLAG.bit.RESRDY); // wait for "result ready" flag
return ADC->RESULT.reg;
}