@ -15,7 +15,7 @@
static void wait_10us(uint32_t us10)
{
us10 = ((us10 / (1 << CLK->CKDIVR.fields.HSIDIV)) * 1000) / 206; // calibrated for 1 ms
for (volatile uint32_t t = 0; t < us10; t++); // burn energy
while (us10--); // burn energy
}
void main(void)