add dumpswing, fix bug with uint32 instead of int32
This commit is contained in:
@@ -93,7 +93,7 @@ static void *dumping(void _U_ *u){
|
||||
}
|
||||
|
||||
// calculate
|
||||
static void runtraectory(traectory_fn *tfn){
|
||||
static void runtraectory(traectory_fn tfn){
|
||||
if(!tfn) return;
|
||||
coords_t telXY, traectXY;
|
||||
double t0 = sl_dtime();
|
||||
@@ -128,7 +128,7 @@ int main(int argc, char **argv){
|
||||
ERRX("Can't open %s", G.coordsoutput);
|
||||
}else fcoords = stdout;
|
||||
Config.MountReqInterval = G.reqint;
|
||||
traectory_fn *tfn = traectory_by_name(G.tfn);
|
||||
traectory_fn tfn = traectory_by_name(G.tfn);
|
||||
if(!tfn){
|
||||
WARNX("Bad traectory name %s, should be one of", G.tfn);
|
||||
print_tr_names();
|
||||
|
||||
Reference in New Issue
Block a user