Endless delay …

Let’s not wait for this to be done:

// Delay for x milliseconds (at 8 MHz clock)
void delay_ms(uint16_t x) {
    uint8_t y, z;
    for (; x > 0; x--) {
        for (y = 0; y < 1000; y++) {
            for (z = 0; z < 8; z++) {
                asm volatile ("nop"); // one clock cycle 125 ns
            }
        }
    }
}