Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavelSindler <pavel@prusa3d.cz>2017-05-22 12:55:27 +0300
committerGitHub <noreply@github.com>2017-05-22 12:55:27 +0300
commit8dbe6afb692ccd349af9e3558a9db25a6ed32e24 (patch)
tree341e2344b3160a72164065677eaff232c68a2756
parent5d2e7fe97b629f66cd743c8dae76d950a60bd3b3 (diff)
parentbaeeb733e9b2eef482c35a15221b70e184e8d680 (diff)
Merge pull request #105 from PavelSindler/MK2
modified langtool.pl to include avr/pgmspace.h to language_all
-rw-r--r--Firmware/langtool.pl3
-rw-r--r--Firmware/language_all.cpp2
-rw-r--r--Firmware/language_all.h1
3 files changed, 4 insertions, 2 deletions
diff --git a/Firmware/langtool.pl b/Firmware/langtool.pl
index 96e3cb8fd..ac9dee72d 100644
--- a/Firmware/langtool.pl
+++ b/Firmware/langtool.pl
@@ -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"
diff --git a/Firmware/language_all.cpp b/Firmware/language_all.cpp
index 6a7bc260a..f32062b35 100644
--- a/Firmware/language_all.cpp
+++ b/Firmware/language_all.cpp
@@ -1,4 +1,4 @@
-#include <avr/pgmspace.h>
+
#include "Configuration_prusa.h"
#include "language_all.h"
diff --git a/Firmware/language_all.h b/Firmware/language_all.h
index ab50cd2c3..3dcb1948e 100644
--- a/Firmware/language_all.h
+++ b/Firmware/language_all.h
@@ -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