aboutsummaryrefslogtreecommitdiff
path: root/AT91SAM7S256/Source/RCXintro_16.txt
diff options
context:
space:
mode:
authorNicolas Schodet2010-07-06 13:25:39 +0200
committerNicolas Schodet2010-08-20 00:18:21 +0200
commit9e5cc1159a47f6978f1fdbface3c03914875fcdb (patch)
tree5b7af0e282b8e7bb336734f2ada1a33b978afb63 /AT91SAM7S256/Source/RCXintro_16.txt
parent3b044ab379a0e6a644a1bba47663f1b92c1df8dc (diff)
gcc: patch *.txt data files, with minimum impact on sources
gcc do not allow to store a structure containing a flexible array member in an array. Also, sizeof (s), with s a structure containing a flexible array member will return the offset of the flexible array member, not the actual size. This patch handle those problems with minimum impact on sources.
Diffstat (limited to 'AT91SAM7S256/Source/RCXintro_16.txt')
-rw-r--r--AT91SAM7S256/Source/RCXintro_16.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/AT91SAM7S256/Source/RCXintro_16.txt b/AT91SAM7S256/Source/RCXintro_16.txt
index 47504a8..9cf470c 100644
--- a/AT91SAM7S256/Source/RCXintro_16.txt
+++ b/AT91SAM7S256/Source/RCXintro_16.txt
@@ -1,4 +1,4 @@
-const BMPMAP RCXintro_16[] =
+DEFINE_DATA(BMPMAP, RCXintro_16) =
{
0x02,0x00, // Graphics Format
0x00,0xC0, // Graphics DataSize
@@ -6,6 +6,8 @@ const BMPMAP RCXintro_16[] =
0x20, // Graphics Start Y
0x5E, // Graphics Width
0x10, // Graphics Height
+BEGIN_DATA
0xF8,0xF8,0x18,0x18,0xF8,0xF8,0x18,0x18,0xF8,0xF8,0x00,0x00,0xF8,0xF8,0x00,0x00,0xF8,0xF8,0x18,0x18,0x18,0x18,0xF8,0xF8,0x00,0x00,0xF8,0xF8,0x18,0x18,0x18,0x18,0xFE,0xFE,0x00,0x00,0xF8,0xF8,0xD8,0xD8,0xD8,0xD8,0xD8,0x00,0x00,0x18,0x18,0x18,0xF8,0xF8,0x18,0x18,0x18,0x00,0x00,0xF8,0xF8,0x18,0xD8,0xD8,0x18,0xF8,0xF8,0x00,0x00,0xF8,0xF8,0x18,0x18,0x18,0x18,0x38,0x38,0x00,0x00,0xF8,0xF8,0x18,0x18,0xF8,0xF8,0x18,0x18,0xF8,0xF8,0x00,0x00,0xF8,0xF8,0xD8,0xD8,0xD8,0xD8,0xD8,
0x07,0x07,0x00,0x00,0x07,0x07,0x00,0x00,0x07,0x07,0x00,0x00,0x07,0x07,0x00,0x00,0x07,0x07,0x00,0x00,0x00,0x00,0x07,0x07,0x00,0x00,0x07,0x07,0x06,0x06,0x06,0x06,0x07,0x07,0x00,0x00,0x06,0x06,0x06,0x06,0x06,0x07,0x07,0x00,0x00,0x00,0x00,0x00,0x07,0x07,0x00,0x00,0x00,0x00,0x00,0x07,0x07,0x06,0x00,0x00,0x06,0x07,0x07,0x00,0x00,0x07,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x07,0x00,0x00,0x07,0x07,0x00,0x00,0x07,0x07,0x00,0x00,0x06,0x06,0x06,0x06,0x06,0x07,0x07
+END_DATA
};