diff options
author | bubnikv <bubnikv@gmail.com> | 2016-07-07 21:26:59 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2016-07-07 21:26:59 +0300 |
commit | 0b372bfc946a76619bb60fb66d28489f2f933eac (patch) | |
tree | c79ce0f24302da14904c1cf2782f1966f1a82221 /Firmware/util.h | |
parent | d7c75f2060c4f3525ab23e30dcffe1154dd2d232 (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.h | 8 |
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 */
|