mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
HAL_ChibiOS: fixed SPI select error
changes by sdcard PR
This commit is contained in:
parent
2c55589488
commit
52c8d3ed9f
@ -238,7 +238,7 @@ bool SPIDevice::acquire_bus(bool set, bool skip_cs)
|
||||
return true;
|
||||
}
|
||||
if (!set && !cs_forced) {
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
if (!set && cs_forced) {
|
||||
if(!skip_cs) {
|
||||
|
Loading…
Reference in New Issue
Block a user