HAL_ChibiOS: fixed SPI select error

changes by sdcard PR
This commit is contained in:
Andrew Tridgell 2018-05-22 07:51:05 +10:00
parent 2c55589488
commit 52c8d3ed9f

View File

@ -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) {