1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 03:20:00 +03:00

PICO: Minor clean up of possible unused functions.

This commit is contained in:
blckmn 2025-04-08 07:48:57 +10:00
parent 0eab2f46d3
commit e036384bc1

View file

@ -143,12 +143,6 @@ void spiInitDevice(SPIDevice device)
gpio_set_function(IO_PINBYTAG(spi->sck), GPIO_FUNC_SPI); gpio_set_function(IO_PINBYTAG(spi->sck), GPIO_FUNC_SPI);
} }
void spiInternalResetDescriptors(busDevice_t *bus)
{
//TODO: implement
UNUSED(bus);
}
void spiInternalResetStream(dmaChannelDescriptor_t *descriptor) void spiInternalResetStream(dmaChannelDescriptor_t *descriptor)
{ {
//TODO: implement //TODO: implement
@ -190,16 +184,10 @@ void spiInternalStartDMA(const extDevice_t *dev)
dma_channel_start(dev->bus->dmaRx->channel); dma_channel_start(dev->bus->dmaRx->channel);
} }
void spiInternalStopDMA (const extDevice_t *dev)
{
//TODO: implement
UNUSED(dev);
}
// DMA transfer setup and start // DMA transfer setup and start
void spiSequenceStart(const extDevice_t *dev) void spiSequenceStart(const extDevice_t *dev)
{ {
//TODO: implement //TODO: implementation for PICO
UNUSED(dev); UNUSED(dev);
} }