From 2a56f47eab7d1848785f739844dd7d87f7787378 Mon Sep 17 00:00:00 2001 From: Peter Wittich Date: Fri, 16 Jun 2023 11:37:30 -0400 Subject: [PATCH] add missing semaphore to FPGA monitoring task (#188) Add the software semaphore for I2C device 5 (the one used for the FPGAs) to the configuration struct for the instance of the monitoring task used by the FPGA monitor. --- projects/cm_mcu/cm_mcu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/cm_mcu/cm_mcu.c b/projects/cm_mcu/cm_mcu.c index 664e867f..b80bb7ab 100644 --- a/projects/cm_mcu/cm_mcu.c +++ b/projects/cm_mcu/cm_mcu.c @@ -253,6 +253,7 @@ int main(void) // Initialize all semaphores initSemaphores(); dcdc_args.xSem = i2c1_sem; + fpga_args.xSem = i2c5_sem; ffl12_f1_args.xSem = i2c4_sem; ffldaq_f1_args.xSem = i2c4_sem; ffl12_f2_args.xSem = i2c3_sem;