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:
authorbubnikv <bubnikv@gmail.com>2016-07-07 21:26:59 +0300
committerbubnikv <bubnikv@gmail.com>2016-07-07 21:26:59 +0300
commit0b372bfc946a76619bb60fb66d28489f2f933eac (patch)
treec79ce0f24302da14904c1cf2782f1966f1a82221 /Firmware/util.h
parentd7c75f2060c4f3525ab23e30dcffe1154dd2d232 (diff)
Added a new feature to the "M115" code:
"M115 Umajor.minor.revision-flavor" will trigger a dialog on the display if the "upgrade" firmware version number is higher than the current version number.
Diffstat (limited to 'Firmware/util.h')
-rw-r--r--Firmware/util.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Firmware/util.h b/Firmware/util.h
new file mode 100644
index 000000000..a07b45e37
--- /dev/null
+++ b/Firmware/util.h
@@ -0,0 +1,8 @@
+#ifndef UTIL_H
+#define UTIL_H
+
+extern const char* FW_VERSION_STR_P();
+
+extern bool show_upgrade_dialog_if_version_newer(const char *version_string);
+
+#endif /* UTIL_H */