Skip to content

Commit

Permalink
Merge pull request #2656 from vikrant-proxy/console-rtt-minmal-fix
Browse files Browse the repository at this point in the history
sys/console/minimal: Fix RTT console compiler error for minimal console
  • Loading branch information
vrahane committed Aug 7, 2021
2 parents b71b1f0 + b14131a commit 4aa5ad3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions sys/console/minimal/src/console.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ console_unlock(void)
return rc;
}

#if MYNEWT_VAL(CONSOLE_UART)
int
console_out(int c)
{
Expand All @@ -151,7 +150,6 @@ console_out(int c)

return rc;
}
#endif

void
console_prompt_set(const char *prompt, const char *line)
Expand Down
2 changes: 1 addition & 1 deletion sys/console/minimal/src/rtt_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ static struct hal_timer rtt_timer;
static const char CR = '\r';

int
console_out(int character)
console_out_nolock(int character)
{
char c = (char)character;

Expand Down

0 comments on commit 4aa5ad3

Please sign in to comment.