summaryrefslogtreecommitdiff
path: root/components/utilities/ymodem
diff options
context:
space:
mode:
authorMeco Jianting Man <[email protected]>2021-03-17 02:32:02 +0800
committerGitHub <[email protected]>2021-03-17 02:32:02 +0800
commit295b95cd7529bc9b85b4fb8ee8b37c62811ffbc8 (patch)
treeb834c7a930dd12735759a6358ccef2bb94cfcc6f /components/utilities/ymodem
parentc3ffe18688a3696a486855ae98002714546bd836 (diff)
parentb12615f344e7e0824ab262994f443c452be04973 (diff)
Merge pull request #28 from RT-Thread/master
pr
Diffstat (limited to 'components/utilities/ymodem')
-rw-r--r--components/utilities/ymodem/ymodem.c4
-rw-r--r--components/utilities/ymodem/ymodem.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/components/utilities/ymodem/ymodem.c b/components/utilities/ymodem/ymodem.c
index 07055db615..a74237689d 100644
--- a/components/utilities/ymodem/ymodem.c
+++ b/components/utilities/ymodem/ymodem.c
@@ -1,5 +1,5 @@
/*
- * COPYRIGHT (C) 2012, Real-Thread Information Technology Ltd
+ * COPYRIGHT (C) 2011-2021, Real-Thread Information Technology Ltd
* All rights reserved
*
* SPDX-License-Identifier: Apache-2.0
@@ -13,7 +13,7 @@
#include <rthw.h>
#include "ymodem.h"
-#ifdef YMODEM_USING_CRC_TABLE
+#ifdef YMODEM_USING_CRC_TABLE
static const rt_uint16_t ccitt_table[256] =
{
0x0000, 0x1021, 0x2042, 0x3063, 0x4084, 0x50A5, 0x60C6, 0x70E7,
diff --git a/components/utilities/ymodem/ymodem.h b/components/utilities/ymodem/ymodem.h
index 8419290e13..7006cf268d 100644
--- a/components/utilities/ymodem/ymodem.h
+++ b/components/utilities/ymodem/ymodem.h
@@ -1,5 +1,5 @@
/*
- * COPYRIGHT (C) 2012, Real-Thread Information Technology Ltd
+ * COPYRIGHT (C) 2011-2021, Real-Thread Information Technology Ltd
* All rights reserved
*
* SPDX-License-Identifier: Apache-2.0