Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

nolo: Added support for initfs version string

  • Loading branch information...
commit 69b527871043035676b42ec0c89a14c9e4b38b71 1 parent 2e78262
@pali pali authored
Showing with 18 additions and 0 deletions.
  1. +15 −0 src/nolo.c
  2. +3 −0  src/nolo.h
View
15 src/nolo.c
@@ -731,6 +731,21 @@ int nolo_set_kernel_ver(struct usb_device_info * dev, const char * ver) {
}
+int nolo_get_initfs_ver(struct usb_device_info * dev, char * ver, size_t size) {
+
+ return nolo_get_version_string(dev, "initfs", ver, size);
+
+}
+
+int nolo_set_initfs_ver(struct usb_device_info * dev, const char * ver) {
+
+ printf("nolo_set_initfs_ver is not implemented yet\n");
+ (void)dev;
+ (void)ver;
+ return -1;
+
+}
+
int nolo_get_nolo_ver(struct usb_device_info * dev, char * ver, size_t size) {
uint32_t version;
View
3  src/nolo.h
@@ -50,6 +50,9 @@ int nolo_set_hwrev(struct usb_device_info * dev, int16_t hwrev);
int nolo_get_kernel_ver(struct usb_device_info * dev, char * ver, size_t size);
int nolo_set_kernel_ver(struct usb_device_info * dev, const char * ver);
+int nolo_get_initfs_ver(struct usb_device_info * dev, char * ver, size_t size);
+int nolo_set_initfs_ver(struct usb_device_info * dev, const char * ver);
+
int nolo_get_nolo_ver(struct usb_device_info * dev, char * ver, size_t size);
int nolo_set_nolo_ver(struct usb_device_info * dev, const char * ver);
Please sign in to comment.
Something went wrong with that request. Please try again.