mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-07-26 10:38:41 +00:00
5ecefde991
The nrf52 series chips use DMA for writing and reading SPI data, which means that the transmit and receive buffer slices escape. This can easily be solved by pre-allocating the buffer in the BMI160 driver and reusing this buffer every time.