iomux_set_function: remove the IOMUX_FUNC transform of the func argument.
The allows the IOMUX_GPIO<n>_FUNC_<function> definitions to be used here.
This commit is contained in:
parent
3dcc4f14a9
commit
8405b989f9
3 changed files with 10 additions and 9 deletions
|
@ -23,8 +23,8 @@
|
|||
#define _SPI1_SCK_GPIO 14
|
||||
#define _SPI1_CS0_GPIO 15
|
||||
|
||||
#define _SPI0_FUNC 1
|
||||
#define _SPI1_FUNC 2
|
||||
#define _SPI0_FUNC IOMUX_FUNC(1)
|
||||
#define _SPI1_FUNC IOMUX_FUNC(2)
|
||||
|
||||
#define _SPI_BUF_SIZE 64
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue