modified palgtool.pl to include avr/pgmspace.h to language_all

This commit is contained in:
PavelSindler 2017-05-22 11:52:35 +02:00
parent c2615d0038
commit baeeb733e9
3 changed files with 4 additions and 2 deletions

View File

@ -180,6 +180,7 @@ print $fh <<END
#ifndef LANGUAGE_ALL_H
#define LANGUAGE_ALL_H
#include <avr/pgmspace.h>
// Language indices into their particular symbol tables.
END
;
@ -242,7 +243,7 @@ $filename = 'language_all.cpp';
open($fh, '>', $filename) or die "Could not open file '$filename' $!";
print $fh <<'END'
#include <avr/pgmspace.h>
#include "Configuration_prusa.h"
#include "language_all.h"

View File

@ -1,4 +1,4 @@
#include <avr/pgmspace.h>
#include "Configuration_prusa.h"
#include "language_all.h"

View File

@ -1,6 +1,7 @@
#ifndef LANGUAGE_ALL_H
#define LANGUAGE_ALL_H
#include <avr/pgmspace.h>
// Language indices into their particular symbol tables.
#define LANG_ID_EN 0
#define LANG_ID_CZ 1