summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/include/layer1/sync.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-04-07 10:16:06 +0800
committerHarald Welte <laforge@gnumonks.org>2010-04-07 07:35:41 +0200
commit9319ac57a1dcd56c634de7c11fd9ff609c9148f7 (patch)
treecf589bf6598f1fc2114d88d70071c3b6fe328905 /src/target/firmware/include/layer1/sync.h
parent63b898b1f918b2df4940072e559d57004f5efe9d (diff)
layer1: remove sb_cnt and sb_once static global variables
and instead move them into the l1s data structure
Diffstat (limited to 'src/target/firmware/include/layer1/sync.h')
-rw-r--r--src/target/firmware/include/layer1/sync.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/target/firmware/include/layer1/sync.h b/src/target/firmware/include/layer1/sync.h
index 585f5c87..c117758d 100644
--- a/src/target/firmware/include/layer1/sync.h
+++ b/src/target/firmware/include/layer1/sync.h
@@ -56,6 +56,12 @@ struct l1s_state {
struct {
uint8_t mode; /* FB_MODE 0/1 */
} fb;
+
+ struct {
+ unsigned int count;
+ unsigned int synced;
+ } sb;
+
struct {
/* power measurement l1 task */
unsigned int mode;