Browse Source

[update]增加默认spi速率配置

shaoguoji 5 years ago
parent
commit
7e8c0806da
1 changed files with 4 additions and 0 deletions
  1. 4 0
      inc/spi_wifi_rw007.h

+ 4 - 0
inc/spi_wifi_rw007.h

@@ -25,6 +25,10 @@ struct spi_cmd_request
     uint32_t magic2;
 };
 
+#ifndef RW007_SPI_MAX_HZ
+#define RW007_SPI_MAX_HZ    30000000
+#endif
+
 #define SPI_MAX_RETRY_COUNT    5
 
 #define CMD_MAGIC1 (0x67452301)