diff options
Diffstat (limited to 'apps/plugins/alpine_cdc.c')
-rw-r--r-- | apps/plugins/alpine_cdc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/alpine_cdc.c b/apps/plugins/alpine_cdc.c index 91cfb0ecdc..a482664d6a 100644 --- a/apps/plugins/alpine_cdc.c +++ b/apps/plugins/alpine_cdc.c | |||
@@ -219,8 +219,8 @@ void timer_init(unsigned hz, unsigned to) | |||
219 | { | 219 | { |
220 | rb->memset(&gTimer, 0, sizeof(gTimer)); | 220 | rb->memset(&gTimer, 0, sizeof(gTimer)); |
221 | 221 | ||
222 | gTimer.transmit = FREQ / hz; /* time for bit transitions */ | 222 | gTimer.transmit = TIMER_FREQ / hz; /* time for bit transitions */ |
223 | gTimer.timeout = FREQ / to; /* time for receive timeout */ | 223 | gTimer.timeout = TIMER_FREQ / to; /* time for receive timeout */ |
224 | } | 224 | } |
225 | 225 | ||
226 | 226 | ||