projects
/
osmocom-bb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add 'struct timer_list' timer code similar to linux + OpenBSC
[osmocom-bb.git]
/
src
/
target
/
firmware
/
apps
/
layer1
/
main.c
diff --git
a/src/target/firmware/apps/layer1/main.c
b/src/target/firmware/apps/layer1/main.c
index
6247543
..
d1dae5b
100644
(file)
--- a/
src/target/firmware/apps/layer1/main.c
+++ b/
src/target/firmware/apps/layer1/main.c
@@
-35,6
+35,7
@@
#include <rf/trf6151.h>
#include <comm/sercomm.h>
+#include <comm/timer.h>
#include <calypso/clock.h>
#include <calypso/tpu.h>
@@
-103,7
+104,9
@@
int main(void)
tpu_frame_irq_en(1, 1);
- while (1) {}
+ while (1) {
+ update_timers();
+ }
/* NOT REACHED */