Delete old check_nolo_order code
This commit is contained in:
1 parent
564b0715f1
commit
5dc162bc4a
3 files changed
+6
-6
No files matched your search
+4
-4
@@ -23,12 +23,12 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
void check_nolo_order_failed()
|
/*void check_nolo_order_failed()
|
||||||
{
|
{
|
||||||
fprintf(stderr, "\nERROR: Provide xloader before the secondary. NOLO disagrees anything else.\n");
|
fprintf(stderr, "\nERROR: Provide xloader before the secondary. NOLO disagrees anything else.\n");
|
||||||
fprintf(stderr, "Use: -p xloader.bin -p secondary.bin\n");
|
fprintf(stderr, "Use: -p xloader.bin -p secondary.bin\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}*/
|
||||||
|
|
||||||
void query_error_message()
|
void query_error_message()
|
||||||
{
|
{
|
||||||
@@ -50,7 +50,7 @@ void query_error_message()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void check_nolo_order()
|
/*void check_nolo_order()
|
||||||
{
|
{
|
||||||
int i, xlo = 0;
|
int i, xlo = 0;
|
||||||
|
|
||||||
@@ -71,7 +71,7 @@ void check_nolo_order()
|
|||||||
|
|
||||||
if (xlo && xlo != 0x11)
|
if (xlo && xlo != 0x11)
|
||||||
check_nolo_order_failed();
|
check_nolo_order_failed();
|
||||||
}
|
}*/
|
||||||
|
|
||||||
void flash_image(const char *filename, const char *piece, const char *device, const char *hwrevs, const char *version)
|
void flash_image(const char *filename, const char *piece, const char *device, const char *hwrevs, const char *version)
|
||||||
{
|
{
|
||||||
|
|||||||
+1
-1
@@ -567,7 +567,7 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
if (pcs_n) {
|
if (pcs_n) {
|
||||||
char version[64];
|
char version[64];
|
||||||
check_nolo_order();
|
// check_nolo_order();
|
||||||
get_sw_version();
|
get_sw_version();
|
||||||
get_hw_revision(version, 44);
|
get_hw_revision(version, 44);
|
||||||
if (subverstr == NULL) {
|
if (subverstr == NULL) {
|
||||||
|
|||||||
+1
-1
@@ -16,7 +16,7 @@ int queue_mode();
|
|||||||
int reverse_extract_pieces(char *dir);
|
int reverse_extract_pieces(char *dir);
|
||||||
void flash_image(const char *filename, const char *piece, const char *device, const char *hwrevs, const char *version);
|
void flash_image(const char *filename, const char *piece, const char *device, const char *hwrevs, const char *version);
|
||||||
int fiasco_read_image(char *file);
|
int fiasco_read_image(char *file);
|
||||||
void check_nolo_order();
|
//void check_nolo_order();
|
||||||
extern struct usb_dev_handle *dev;
|
extern struct usb_dev_handle *dev;
|
||||||
unsigned long get_file_size(const char *file);
|
unsigned long get_file_size(const char *file);
|
||||||
void progressbar(unsigned long long part, unsigned long long total);
|
void progressbar(unsigned long long part, unsigned long long total);
|
||||||
|
|||||||
Reference in new issue
Block a user