Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pussuw committed Jan 30, 2024
1 parent fa56e9e commit 01b3941
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions arch/risc-v/src/mpfs/mpfs_corespi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1503,6 +1503,20 @@ struct spi_dev_s *mpfs_corespibus_initialize(int port)
struct mpfs_spi_priv_s *priv;
int ret;

switch (port)
{
case 1:
_alert("Port 1");
break;

case 2:

_alert("Port 2");
break;
default:
break;
}

if (port < MPFS_CORESPI_INSTANCES)
{
priv = &g_mpfs_spi_priv[port];
Expand Down

0 comments on commit 01b3941

Please sign in to comment.