Przeglądaj źródła

[porting][spi] allow the rewritten of the hosted_spi_init functions

Evlers 6 miesięcy temu
rodzic
commit
1bb2afb7c6
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      porting/port/source/spi_wrapper.c

+ 1 - 1
porting/port/source/spi_wrapper.c

@@ -34,7 +34,7 @@
 
 extern void *spi_handle;
 
-void *hosted_spi_init(void)
+rt_weak void *hosted_spi_init(void)
 {
     /* Initializes the spi bus */
 #ifdef ESP_HOSTED_USING_PIN_NUMBER