Skip to content

Commit 3b2ac00

Browse files
authored
Merge pull request #9 from harp-tech/AS_firmware_2.5
update fw version and remove secondary bus validation
2 parents 5a27f34 + 58b4931 commit 3b2ac00

2 files changed

Lines changed: 4 additions & 4 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 = 4;
32+
uint8_t fwL = 5;
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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -731,9 +731,9 @@ 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))
736-
core_func_catastrophic_error_detected();
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))
736+
// core_func_catastrophic_error_detected();
737737

738738
app_regs.REG_LED1_SUPPLY_PWR_CONF = reg;
739739
return true;

0 commit comments

Comments
 (0)