aboutsummaryrefslogtreecommitdiffstats
path: root/host/apps/omap_debug/usrp-e-led.c
diff options
context:
space:
mode:
authorPhilip Balister <philip@opensdr.com>2010-04-02 21:58:55 +0000
committerPhilip Balister <philip@opensdr.com>2010-04-02 21:58:55 +0000
commitd4e9f3629021736b1330b4a9f22ee60336a53e0e (patch)
tree7639602f3c8ea303a7a45734fde921cf95a80b90 /host/apps/omap_debug/usrp-e-led.c
parent5d7a5e66c05290c5e3957457680313a2e427af08 (diff)
downloaduhd-d4e9f3629021736b1330b4a9f22ee60336a53e0e.tar.gz
uhd-d4e9f3629021736b1330b4a9f22ee60336a53e0e.tar.bz2
uhd-d4e9f3629021736b1330b4a9f22ee60336a53e0e.zip
Update to use register definitions from header file.
Diffstat (limited to 'host/apps/omap_debug/usrp-e-led.c')
-rw-r--r--host/apps/omap_debug/usrp-e-led.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/apps/omap_debug/usrp-e-led.c b/host/apps/omap_debug/usrp-e-led.c
index 159251c8a..d1b6c8996 100644
--- a/host/apps/omap_debug/usrp-e-led.c
+++ b/host/apps/omap_debug/usrp-e-led.c
@@ -20,7 +20,7 @@ int main(int argc, char *argv[])
fp = open("/dev/usrp_e0", O_RDWR);
printf("fp = %d\n", fp);
- d.offset = 4;
+ d.offset = UE_REG_MISC_BASE;
d.count = 1;
while (1) {