Browse Source

xc_ppf1901: fix gcc9 errors

Signed-off-by: surenyi <surenyi82@163.com>
master
surenyi 5 years ago
parent
commit
c0e15cd646
  1. 125
      targets/xc_ppf1901/D1.txt
  2. 4
      targets/xc_ppf1901/lmk.c

125
targets/xc_ppf1901/D1.txt

@ -1,125 +0,0 @@
{0x0003, 0x06},
{0x0004, 0xD0},
{0x0005, 0x5B},
{0x0006, 0x00},
{0x000C, 0x51},
{0x000D, 0x04},
{0x0100, 0x06},
{0x0101, 0x65},
{0x0102, 0x55},
{0x0103, 0x01},
{0x0104, 0x22},
{0x0105, 0x00},
{0x0106, 0x70},
{0x0107, 0x15},
{0x0108, 0x1E},
{0x0109, 0x55},
{0x010A, 0x55},
{0x010B, 0x01},
{0x010C, 0x02},
{0x010D, 0x00},
{0x010E, 0x30},
{0x010F, 0x10},
{0x0110, 0x1E},
{0x0111, 0x55},
{0x0112, 0x55},
{0x0113, 0x00},
{0x0114, 0x02},
{0x0115, 0x00},
{0x0116, 0x70},
{0x0117, 0x01},
{0x0118, 0x1E},
{0x0119, 0x55},
{0x011A, 0x55},
{0x011B, 0x00},
{0x011C, 0x02},
{0x011D, 0x00},
{0x011E, 0x71},
{0x011F, 0x01},
{0x0120, 0x1E},
{0x0121, 0x55},
{0x0122, 0x55},
{0x0123, 0x00},
{0x0124, 0x02},
{0x0125, 0x00},
{0x0126, 0x00},
{0x0127, 0x11},
{0x0128, 0x18},
{0x0129, 0x55},
{0x012A, 0x55},
{0x012B, 0x00},
{0x012C, 0x02},
{0x012D, 0x00},
{0x012E, 0x40},
{0x012F, 0x11},
{0x0130, 0x1E},
{0x0131, 0x55},
{0x0132, 0x55},
{0x0133, 0x00},
{0x0134, 0x22},
{0x0135, 0x00},
{0x0136, 0x00},
{0x0137, 0x01},
{0x0138, 0x26},
{0x0139, 0x03},
{0x013A, 0x00},
{0x013B, 0x1E},
{0x013C, 0x00},
{0x013D, 0x00},
{0x013E, 0x00},
{0x013F, 0x01},
{0x0140, 0x01},
{0x0141, 0x00},
{0x0142, 0x00},
{0x0143, 0x13},
{0x0144, 0xFF},
{0x0145, 0x7F},
{0x0146, 0x18},
{0x0147, 0x02},
{0x0148, 0x02},
// {0x0149, 0x42},
{0x014A, 0x02},
{0x014B, 0x16},
{0x014C, 0x00},
{0x014D, 0x00},
{0x014E, 0xC0},
{0x014F, 0x7F},
{0x0150, 0x03},
{0x0151, 0x02},
{0x0152, 0x00},
{0x0153, 0x00},
{0x0154, 0x80},
{0x0155, 0x00},
{0x0156, 0x78},
{0x0157, 0x00},
{0x0158, 0x96},
{0x0159, 0x00},
{0x015A, 0x33},
{0x015B, 0xD4},
{0x015C, 0x20},
{0x015D, 0x00},
{0x015E, 0x01},
{0x015F, 0x0B},
{0x0160, 0x00},
{0x0161, 0x04},
{0x0162, 0x04},
{0x0163, 0x00},
{0x0164, 0x00},
{0x0165, 0x0B},
{0x0171, 0xAA},
{0x0172, 0x02},
{0x017C, 0x15},
{0x017D, 0x33},
{0x0166, 0x00},
{0x0167, 0x00},
{0x0168, 0x96},
{0x0169, 0x59},
{0x016A, 0x20},
{0x016B, 0x00},
{0x016C, 0x00},
{0x016D, 0x00},
{0x016E, 0x13},
{0x0173, 0x00},
{0x1FFD, 0x00},
{0x1FFE, 0x00},
{0x1FFF, 0x53}

4
targets/xc_ppf1901/lmk.c

@ -422,12 +422,12 @@ static void parse_number(int cs, char *s, char *e)
memset(line, 0, sizeof line);
while ((e > s) && isspace(*e)) {
while ((e > s) && isspace((int)*e)) {
--e;
}
ex = e;
while ((e > s) && !isspace(*e)) {
while ((e > s) && !isspace((int)*e)) {
--e;
}
s = e;

Loading…
Cancel
Save