Skip to content

Commit 1b44104

Browse files
Add files via upload
1 parent 5b6a457 commit 1b44104

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bsp/stm32/stm32l475-atk-pandora/board/ports/drv_qspi_flash.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ void w25qxx_enter_qspi_mode(struct rt_qspi_device *device)
6060
}
6161
}
6262

63+
/* Adapter function to bridge the signature mismatch between driver layer
64+
* expectation (void (*)()) and framework requirement (void (*)(struct rt_qspi_device *)).
65+
*/
6366
void w25qxx_enter_qspi_mode_adapter(void)
6467
{
6568
struct rt_qspi_device *device = (struct rt_qspi_device *)rt_device_find("qspi10");

0 commit comments

Comments
 (0)