summaryrefslogtreecommitdiff
path: root/common/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/console.c')
-rw-r--r--common/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/console.c b/common/console.c
index 1a2a41c9c1..8f42dffbf5 100644
--- a/common/console.c
+++ b/common/console.c
@@ -217,7 +217,7 @@ static int handle_command(char *input)
/* Lastly, verify the CRC8 of the command. */
if (i+command_len > input_len)
goto command_has_error;
- if (packed_crc8 != cros_crc8(&input[i], command_len)) {
+ if (packed_crc8 != crc8(&input[i], command_len)) {
command_has_error:
/* Send back the error string. */
ccprintf("&&EE\n");