mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/driver-ms56xx.git
synced 2025-08-06 13:27:34 +00:00
Add some possible fixes (pulseCS and explicit type casts)
This commit is contained in:
@@ -31,6 +31,13 @@ namespace sta {
|
||||
}
|
||||
|
||||
private:
|
||||
// Helper method to keep code clean
|
||||
void pulseCS(uint32_t ms=1) {
|
||||
this->device_->endTransmission();
|
||||
sta::delayMs(ms);
|
||||
this->device_->beginTransmission();
|
||||
}
|
||||
|
||||
// STA internal object for SPi abstraction
|
||||
SpiDevice* device_;
|
||||
OsrLevel osr_;
|
||||
|
Reference in New Issue
Block a user