Merge remote-tracking branch 'rfa/main'
This commit is contained in:
commit
9c4bdcae42
2 files changed
+16
-1
No files matched your search
@@ -41,7 +41,15 @@ class RakI2cGpsDriver : public GpsDriver {
|
||||
}
|
||||
|
||||
#ifndef RAK_3401
|
||||
pinMode(powerPin, INPUT);
|
||||
if (powerPin == WB_IO2) {
|
||||
// WB_IO2 switches the 3V3_S slot rail, which also powers a serial GPS and the other
|
||||
// slot modules. Left as an input, the rail follows whatever the base board pulls it
|
||||
// to: some keep it on, others switch it off, and the serial GPS loses power (#3830).
|
||||
// Keep it driven HIGH, as before the probe; a GPS power pin re-claims it later.
|
||||
digitalWrite(powerPin, HIGH);
|
||||
} else {
|
||||
pinMode(powerPin, INPUT);
|
||||
}
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -7,6 +7,13 @@ class XiaoS3WIOBoard : public ESP32Board {
|
||||
public:
|
||||
XiaoS3WIOBoard() { }
|
||||
|
||||
void begin() {
|
||||
while (!Serial.availableForWrite())
|
||||
delay(10);
|
||||
|
||||
ESP32Board::begin();
|
||||
}
|
||||
|
||||
const char* getManufacturerName() const override {
|
||||
return "Xiao S3 WIO";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user