diff --git a/m4/src/Peripherals/ADC/ADCBoard.h b/m4/src/Peripherals/ADC/ADCBoard.h index 55f500a..6893543 100644 --- a/m4/src/Peripherals/ADC/ADCBoard.h +++ b/m4/src/Peripherals/ADC/ADCBoard.h @@ -82,7 +82,7 @@ class ADCBoard { public: inline static PeripheralCommsController commsController = - PeripheralCommsController(ADC_SPI_SETTINGS, &SPI1); + PeripheralCommsController(ADC_SPI_SETTINGS, &SPI); ADCBoard(int cs_pin, int data_ready_pin, int reset_pin) : cs_pin(cs_pin), data_ready_pin(data_ready_pin), reset_pin(reset_pin) {}