| 396 | } |
| 397 | |
| 398 | void arducamChipSelect(uint8_t active, modSPIConfiguration config) |
| 399 | { |
| 400 | ArduCAM ac = (ArduCAM)config; |
| 401 | |
| 402 | if (active) |
| 403 | modGPIOWrite(&ac->csPin, 0); |
| 404 | else { |
| 405 | modGPIOWrite(&ac->csPin, 1); |
| 406 | ac->startBurst = 1; |
| 407 | } |
| 408 | } |
no test coverage detected