Skip to content

Commit

Permalink
Fix issues on SPI begin
Browse files Browse the repository at this point in the history
  • Loading branch information
cparata committed Nov 10, 2023
1 parent 89e0493 commit 65ada6d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void setup()
SerialPort.begin(460800);

// Initialize SPI bus.
DEV_SPI.begin(CS_PIN);
DEV_SPI.begin();

// Configure VL53L8CX component.
sensor_vl53l8cx_top.begin();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ void setup()
SerialPort.begin(460800);

// Initialize SPI bus.
DEV_SPI.begin(CS_PIN);
DEV_SPI.begin();

// Enable PWREN top pin if present
if (PWREN_TOP_PIN >= 0) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ void setup()
SerialPort.begin(460800);

// Initialize SPI bus.
DEV_SPI.begin(CS_PIN);
DEV_SPI.begin();

// Set interrupt pin
pinMode(INT_PIN, INPUT_PULLUP);
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=STM32duino X-NUCLEO-53L8A1
version=1.0.0
version=1.0.1
author=STMicroelectronics
maintainer=stm32duino
sentence=Allows controlling the VL53L8CX sensors on board of X-NUCLEO-53L8A1
Expand Down

0 comments on commit 65ada6d

Please sign in to comment.