treewide: remove FSF address
[osmocom-bb.git] / src / target / firmware / lib / delay.c
blob443ca8276af39cd308eda95e42907314e9728267
1 #include <delay.h>
3 /* FIXME: We need properly calibrated delay loops at some point! */
4 void delay_us(unsigned int us)
6 volatile unsigned int i;
8 for (i= 0; i < us*4; i++) { i; }
11 void delay_ms(unsigned int ms)
13 volatile unsigned int i;
15 for (i= 0; i < ms*1300; i++) { i; }