summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chip/g/spp.c4
-rw-r--r--include/console_channel.inc2
2 files changed, 3 insertions, 3 deletions
diff --git a/chip/g/spp.c b/chip/g/spp.c
index 377d11d296..5162b5652c 100644
--- a/chip/g/spp.c
+++ b/chip/g/spp.c
@@ -56,8 +56,8 @@
static uint32_t spp_tx_count, spp_rx_count, tx_empty_count, max_rx_batch;
/* Console output macros */
-#define CPUTS(outstr) cputs(CC_SPS, outstr)
-#define CPRINTS(format, args...) cprints(CC_SPS, format, ## args)
+#define CPUTS(outstr) cputs(CC_SPP, outstr)
+#define CPRINTS(format, args...) cprints(CC_SPP, format, ## args)
/* Flag indicating if there has been any data received while CS was asserted. */
static uint8_t seen_data;
diff --git a/include/console_channel.inc b/include/console_channel.inc
index 8b81926544..34a5e1be48 100644
--- a/include/console_channel.inc
+++ b/include/console_channel.inc
@@ -77,7 +77,7 @@ CONSOLE_CHANNEL(CC_SPI, "spi")
CONSOLE_CHANNEL(CC_RBOX, "rbox")
#endif
#ifdef CONFIG_SPP
-CONSOLE_CHANNEL(CC_SPS, "spp")
+CONSOLE_CHANNEL(CC_SPP, "spp")
#endif
#if defined(CONFIG_SWITCH) || defined(CONFIG_LID_SWITCH)
CONSOLE_CHANNEL(CC_SWITCH, "switch")