fix pointer issue
This commit is contained in:
@@ -32,6 +32,6 @@
|
|||||||
/*
|
/*
|
||||||
* firmeware version string
|
* firmeware version string
|
||||||
*/
|
*/
|
||||||
#define __FIRMWARE__ "2020082105"
|
#define __FIRMWARE__ "2020082106"
|
||||||
|
|
||||||
#endif // _CONFIG_H
|
#endif // _CONFIG_H
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ int64_t update_check_new_version( char *url ) {
|
|||||||
}
|
}
|
||||||
firmwarehost = tmp_firmwarehost;
|
firmwarehost = tmp_firmwarehost;
|
||||||
}
|
}
|
||||||
strlcpy( firmwarehost, doc["host"], sizeof( firmwarehost ) );
|
strcpy( firmwarehost, doc["host"] );
|
||||||
log_i("firmwarehost: %s", firmwarehost );
|
log_i("firmwarehost: %s", firmwarehost );
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -94,7 +94,7 @@ int64_t update_check_new_version( char *url ) {
|
|||||||
}
|
}
|
||||||
firmwarefile = tmp_firmwarefile;
|
firmwarefile = tmp_firmwarefile;
|
||||||
}
|
}
|
||||||
strlcpy( firmwarefile, doc["file"], sizeof( firmwarefile ) );
|
strcpy( firmwarefile, doc["file"] );
|
||||||
log_i("firmwarefile: %s", firmwarefile );
|
log_i("firmwarefile: %s", firmwarefile );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -1 +1 @@
|
|||||||
{"version":"2020082105","host":"http://www.neo-guerillaz.de","file":"ttgo-t-watch2020_v1.ino.bin"}
|
{"version":"2020082106","host":"http://www.neo-guerillaz.de","file":"ttgo-t-watch2020_v1.ino.bin"}
|
||||||
|
|||||||
Reference in New Issue
Block a user