forked from ExternalVendorCode/Signal-Server
Add genericised image handling and implement in DoRxdPwr
This commit is contained in:
9
main.cc
9
main.cc
@@ -35,6 +35,7 @@ double version = 2.95;
|
||||
#include "models/itwom3.0.hh"
|
||||
#include "models/los.hh"
|
||||
#include "models/pel.hh"
|
||||
#include "image.hh"
|
||||
|
||||
int MAXPAGES = 64;
|
||||
int ARRAYSIZE = 76810;//76810;
|
||||
@@ -1210,6 +1211,14 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
|
||||
if (strcmp(argv[x], "-so") == 0) {
|
||||
z = x + 1;
|
||||
if(image_set_library(argv[z]) != 0){
|
||||
fprintf(stderr,"Error configuring image processor\n");
|
||||
exit(EINVAL);
|
||||
}
|
||||
}
|
||||
|
||||
if (strcmp(argv[x], "-rt") == 0) {
|
||||
z = x + 1;
|
||||
|
||||
|
Reference in New Issue
Block a user