We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c18959 commit 2d89b44Copy full SHA for 2d89b44
include/spifs.h
@@ -23,13 +23,13 @@ extern "C" {
23
24
/**
25
* Enable SPI Flash and mount LFS filesystem
26
+ * @param port [in] SPI Port to use
27
* @param gpio_cs [in] GPIO number connected to SPI chip select
28
* @param speed_hz [in] SPI Speed in Hz (max 10MHz)
29
* @param mode [in] SPI mode
- * @param byte_order [in] SPI byte order, see
30
* @return 0 on success, negative value on failure
31
*/
32
-int spifs_enable(int gpio_cs, unsigned long speed_hz, int mode, int byte_order);
+int spifs_enable(int port, int gpio_cs, unsigned long speed_hz, int mode);
33
34
35
* Disable SPI Flash and unmount LFS filesystem
0 commit comments