Witam Mam coś takiego: code const unsigned char pakiet4f1[][8] = {0x72,0x52,0xff,0x01,0xff,0xff,0xff,0xff, 0x71,0x01,0xff,0xff,0xff,0xff,0xff,0xff, 0x73,0x11,0xff,0xff,0xff,0xff,0xff,0xff, 0x72,0x12,0xff,0xff,0xff,0xff,0xff,0xff, 0x72,0x52,0xff,0xff,0xff,0xff,0xff,0xff, 0x72,0x02,0xff,0xff,0xff,0xff,0xff,0xff, 0x72,0x42,0xff,0x01,0xff,0xff,0xff,0xff, 0x71,0x02,0xff,0xff,0xff,0xff,0xff,0xff, 0x71,0x14,0xff,0xff,0xff,0xff,0xff,0xff};
I sdcc krzyczy mi: C:/Project/Procesor/51/BMWMOD~1/main.c(82) : error 69: struct/union/array 'pakiet4f1' :initialization needs curly braces
Ten kod się idealnie kompilował pod keilem. Jeśli zrobię tablicę jednowymiarową do sdcc też chwyta. Więc pewnie tu tkwi problem. W takim razie jak zrobić w sdcc tablice dwuwymiarową?
Pozdrawiam Kzysztof Szmurło