Skip to content

Commit

Permalink
fix: luat_spi_set_mode未提供返回值
Browse files Browse the repository at this point in the history
  • Loading branch information
wendal committed Apr 25, 2024
1 parent cb936ff commit 27de2f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions interface/src/luat_spi_ec7xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ int luat_spi_set_mode(int spi_id, uint8_t mode) {
if (!spi_exist(spi_id))
return -1;
g_s_luat_spi_mode[spi_id] = mode;
return 0;
}

int luat_spi_setup(luat_spi_t* spi) {
Expand Down

0 comments on commit 27de2f4

Please sign in to comment.