Skip to content

Commit

Permalink
fixed adc spi for old hardware
Browse files Browse the repository at this point in the history
  • Loading branch information
markzakharyan committed Oct 11, 2024
1 parent caa7c16 commit a1301c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion m4/src/Peripherals/ADC/ADCBoard.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}
Expand Down

0 comments on commit a1301c2

Please sign in to comment.