diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2014-01-20 15:03:24 +0000 |
---|---|---|
committer | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2014-02-06 22:17:51 +0000 |
commit | 32c4c18045599ddfed36f52b276166ce932b1bf7 (patch) | |
tree | 0588eb0d97558a49f9c5417e954bb237032499b7 /contrib | |
parent | facd0e7827926d0639260be40e9cc4c595794194 (diff) |
flash: declare fixed arrays const
Change-Id: Id06b8b53ec59a7b3182f60f51dde5b16563aaeef
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1887
Tested-by: jenkins
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/gen-stellaris-part-header.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gen-stellaris-part-header.pl b/contrib/gen-stellaris-part-header.pl index 0cc567f7..68f2889b 100755 --- a/contrib/gen-stellaris-part-header.pl +++ b/contrib/gen-stellaris-part-header.pl @@ -6,7 +6,7 @@ $comment = "// Autogenerated by contrib/gen-stellaris-part-header.pl // From Stellaris Firmware Development Package revision"; -$struct_header = "static struct { +$struct_header = "static const struct { uint8_t class; uint8_t partno; const char *partname; |