From ad3ef92cfef35e9d6e76c0727824c1dfd3261220 Mon Sep 17 00:00:00 2001 From: Yurii Soldak Date: Sat, 29 Jan 2022 21:27:08 +0100 Subject: [PATCH] lps22hb: pin rename, sync with main repo --- lps22hb/lps22hb_nano_33_ble.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lps22hb/lps22hb_nano_33_ble.go b/lps22hb/lps22hb_nano_33_ble.go index 8329a4b..dd96167 100644 --- a/lps22hb/lps22hb_nano_33_ble.go +++ b/lps22hb/lps22hb_nano_33_ble.go @@ -11,8 +11,8 @@ import ( // Configure sets up the LPS22HB device for communication. func (d *Device) Configure() { // Following lines are Nano 33 BLE specific, they have nothing to do with sensor per se - machine.LSP_PWR.Configure(machine.PinConfig{Mode: machine.PinOutput}) - machine.LSP_PWR.High() + machine.LPS_PWR.Configure(machine.PinConfig{Mode: machine.PinOutput}) + machine.LPS_PWR.High() machine.I2C_PULLUP.Configure(machine.PinConfig{Mode: machine.PinOutput}) machine.I2C_PULLUP.High() // Wait a moment