summaryrefslogtreecommitdiffstats
path: root/pressure_control/firmware/main.c
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2008-10-23 21:43:33 +0200
committerMichael Buesch <mb@bu3sch.de>2008-10-23 21:43:33 +0200
commit8421080c367083e01e07569d82ea4fe6f63cb86c (patch)
tree951108e7cb5fb6ebde6eca845ef07432dfa0a6bf /pressure_control/firmware/main.c
parent13ff7496a156bb366b7c861575ba77b1ed337dfb (diff)
downloadcnc-8421080c367083e01e07569d82ea4fe6f63cb86c.tar.xz
cnc-8421080c367083e01e07569d82ea4fe6f63cb86c.zip
pressure_control: Implement RX timeout
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Diffstat (limited to 'pressure_control/firmware/main.c')
-rw-r--r--pressure_control/firmware/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pressure_control/firmware/main.c b/pressure_control/firmware/main.c
index ef4c81e..fc16dad 100644
--- a/pressure_control/firmware/main.c
+++ b/pressure_control/firmware/main.c
@@ -108,6 +108,7 @@ ISR(TIMER1_COMPA_vect)
{
if (state.sensor_trigger_cnt > 0)
state.sensor_trigger_cnt--;
+ remote_1khz_work();
}
void system_timer_init(void)
bues.ch cgit interface