1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 /***************************************************************************
4 * Copyright (C) 2011 by Martin Schmoelzer *
5 * <martin.schmoelzer@student.tuwien.ac.at> *
6 ***************************************************************************/
19 for (i
= 0; i
< 598; i
++)
23 void delay_us(uint16_t delay
)
26 uint16_t maxcount
= (delay
/ 5);
28 for (i
= 0; i
< maxcount
; i
++)
32 void delay_ms(uint16_t delay
)
36 for (i
= 0; i
< delay
; i
++)