Skip to content

Commit

Permalink
Update SDHC_FTHR examples to be compatible with latest CLI changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-Scheiffler committed Sep 20, 2023
1 parent e2e16e7 commit 836d635
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
2 changes: 0 additions & 2 deletions Examples/MAX78000/SDHC_FTHR/include/user-cli.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ extern const unsigned int num_user_commands;
/* -------------------------------------------------- */
// FUNCTION PROTOTYPES
/* -------------------------------------------------- */
void CLI_IRQHandler(void);

int handle_size(int argc, char *argv[]);

int handle_format(int argc, char *argv[]);
Expand Down
4 changes: 0 additions & 4 deletions Examples/MAX78000/SDHC_FTHR/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ int main(void)
return err;
}

// Enable Console/CLI UART IRQ vector
MXC_NVIC_SetVector(MXC_UART_GET_IRQ(CONSOLE_UART), CLI_IRQHandler);
NVIC_EnableIRQ(MXC_UART_GET_IRQ(CONSOLE_UART));

// Run CLI
while (1) {}
}
5 changes: 0 additions & 5 deletions Examples/MAX78000/SDHC_FTHR/src/user-cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ const command_t user_commands[] = {

const unsigned int num_user_commands = sizeof(user_commands) / sizeof(command_t);

void CLI_IRQHandler(void)
{
MXC_CLI_Handler();
}

int handle_size(int argc, char *argv[])
{
if (argc != 1) {
Expand Down

0 comments on commit 836d635

Please sign in to comment.