From 9c4c9300f5419761381bcc669fe45c3e845924d6 Mon Sep 17 00:00:00 2001 From: Benjamin Riggs Date: Fri, 14 Dec 2018 18:44:05 -0600 Subject: [PATCH] Match working code on fluidics system. --- src/spi_remote_host.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/spi_remote_host.h b/src/spi_remote_host.h index 3d1ec7c..b6a027c 100644 --- a/src/spi_remote_host.h +++ b/src/spi_remote_host.h @@ -32,6 +32,7 @@ struct host_remote { struct host_dac dac[DAC_NUM]; struct host_flow flow[FLOW_NUM]; }; +extern pthread_mutex_t wait_chunks_mutex; //TODO rather than creating host_motor just use host_gpio and host_dac //IDEA monitor which chunks go into which messages and the current last_unconfirmed to signal successful sends of messages that don't need to return. Flaw: this would be complicated and round-trip confirmation is ez, what about other errors? Confirmation is a good thing.