Skip to content

Commit e2667f8

Browse files
committed
Update fw version and remove smbus init
1 parent 3b2ac00 commit e2667f8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Firmware/LedArray/app.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ void hwbp_app_initialize(void)
2929
uint8_t hwH = 1;
3030
uint8_t hwL;
3131
uint8_t fwH = 2;
32-
uint8_t fwL = 5;
32+
uint8_t fwL = 6;
3333
uint8_t ass = 0;
3434

3535
io_pin2in(&PORTA, 0, PULL_IO_TRISTATE, SENSE_IO_EDGES_BOTH); // VERSION0

Firmware/LedArray/app_funcs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -731,8 +731,8 @@ bool app_write_REG_LED1_SUPPLY_PWR_CONF(void *a)
731731
if (reg < 1 || reg > 120)
732732
return false;
733733

734-
//if (bus_expansion_exists == false) // Check only if bus expansion exists in the bus
735-
// if (!write_SMBus_word(33, 0x22, ((int16_t) reg) * 5 -300))
734+
if (bus_expansion_exists == false) // Check only if bus expansion exists in the bus
735+
write_SMBus_word(33, 0x22, ((int16_t) reg) * 5 -300);
736736
// core_func_catastrophic_error_detected();
737737

738738
app_regs.REG_LED1_SUPPLY_PWR_CONF = reg;

0 commit comments

Comments
 (0)