voxl2: Add support for the new M0197 board variant. Uses bmi270 IMU and dps310 barometer and GPS on apps proc.

This commit is contained in:
Eric Katzfey
2026-02-23 23:18:12 -08:00
committed by Ramon Roche
parent 55d35ddf37
commit b0b99de767
5 changed files with 33 additions and 7 deletions
+5 -1
View File
@@ -157,7 +157,11 @@ SPI::transfer(uint8_t *send, uint8_t *recv, unsigned len)
if (_spi_transfer != NULL) {
pthread_mutex_lock(&_mutex);
ret = _spi_transfer(_fd, send, recv, len);
if (recv) { ret = _spi_transfer(_fd, send, recv, len); }
else { ret = _spi_transfer(_fd, send, send, len); }
pthread_mutex_unlock(&_mutex);
} else {