diff options
| author | Damien George <damien@micropython.org> | 2025-03-19 15:47:35 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-03-25 12:58:43 +1100 |
| commit | c61e85910879d5db120d00f7790ed36f4dcda44d (patch) | |
| tree | 1235e998114ab7f3e9ada871a20c8d26a2d565e2 /ports/stm32/octospi.c | |
| parent | 274c8c419c97bdb54fa14de37a38b08dcefd1493 (diff) | |
drivers: Add MP_QSPI_IOCTL_MEMORY_MODIFIED to indicate flash changed.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'ports/stm32/octospi.c')
| -rw-r--r-- | ports/stm32/octospi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/stm32/octospi.c b/ports/stm32/octospi.c index 407f48566..345c4a237 100644 --- a/ports/stm32/octospi.c +++ b/ports/stm32/octospi.c @@ -105,8 +105,9 @@ void octospi_init(void) { OCTOSPI1->CR |= OCTOSPI_CR_EN; } -static int octospi_ioctl(void *self_in, uint32_t cmd) { +static int octospi_ioctl(void *self_in, uint32_t cmd, uintptr_t arg) { (void)self_in; + (void)arg; switch (cmd) { case MP_QSPI_IOCTL_INIT: octospi_init(); |
