Allow chain of 1-4 panels - subject to memory

This commit is contained in:
Will Tatam
2024-02-24 17:27:20 +00:00
parent 26de408626
commit e2aad4783d
3 changed files with 30 additions and 26 deletions

View File

@@ -350,7 +350,10 @@ class BusHub75Matrix : public Bus {
void setBrightness(uint8_t b, bool immediate);
uint8_t getPins(uint8_t* pinArray) { return 1; } // Fake value due to keep finaliseInit happy
uint8_t getPins(uint8_t* pinArray) {
pinArray[0] = mxconfig.chain_length;
return 1;
} // Fake value due to keep finaliseInit happy
void deallocatePins();