Skip to content

Commit

Permalink
add missing semaphore to FPGA monitoring task (#188)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pwittich authored Jun 16, 2023
1 parent 7c0a6b7 commit 2a56f47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions projects/cm_mcu/cm_mcu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2a56f47

Please sign in to comment.