Skip to content

Commit

Permalink
fix bug in the 2nd fpga i2c device response to ipmc (#193)
Browse files Browse the repository at this point in the history
* fix bug in the 2nd fpga i2c device response to ipmc
* Rev1 update
  • Loading branch information
pwittich authored Aug 19, 2023
1 parent bc04d3f commit c709640
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions projects/cm_mcu/LocalTasks.c
Original file line number Diff line number Diff line change
Expand Up @@ -1092,7 +1092,13 @@ void initFPGAMon(void)
}
else {
set_f2_index(0);
#ifdef REV1
// previous FPGA has 1 SLR
set_f1_index(1);
#else // REV2
// previous FPGA has 4 SLR
set_f1_index(4); // this should not be a magic number
#endif // not REV1
#ifndef REV1
write_gpio_pin(_F1_JTAG_BYPASS, 1);
write_gpio_pin(_F2_JTAG_BYPASS, 1);
Expand Down

0 comments on commit c709640

Please sign in to comment.