X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Falgo%2Fcrc.c;h=96007addc049b3890a125709f16c643b3e189b27;hb=68ac3bfba91119369e42240a732f542c0c6d2736;hp=d465e260bfbe059d32010745bc2af801346a85f6;hpb=791e167e053bdd9250d34a9a5ccae6ccde4d6679;p=bertos.git diff --git a/bertos/algo/crc.c b/bertos/algo/crc.c index d465e260..96007add 100644 --- a/bertos/algo/crc.c +++ b/bertos/algo/crc.c @@ -27,14 +27,14 @@ * the GNU General Public License. * * Copyright 2003,2004 Develer S.r.l. (http://www.develer.com/) - * Copyright 1999 Bernardo Innocenti + * Copyright 1999 Bernie Innocenti * * --> * * \brief CRC table and support routines * * \version $Id$ - * \author Bernardo Innocenti + * \author Bernie Innocenti */ #include "crc.h" @@ -42,7 +42,7 @@ /** * crctab calculated by Mark G. Mendel, Network Systems Corporation */ -const uint16_t crc16tab[256] = { +const uint16_t PROGMEM crc16tab[256] = { 0x0000, 0x1021, 0x2042, 0x3063, 0x4084, 0x50a5, 0x60c6, 0x70e7, 0x8108, 0x9129, 0xa14a, 0xb16b, 0xc18c, 0xd1ad, 0xe1ce, 0xf1ef, 0x1231, 0x0210, 0x3273, 0x2252, 0x52b5, 0x4294, 0x72f7, 0x62d6,