Enable top in SITL

This commit is contained in:
Lorenz Meier
2016-05-28 12:10:19 +02:00
parent 120ff6ea15
commit b412980f90
2 changed files with 4 additions and 3 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
/****************************************************************************
*
* Copyright (c) 2012, 2013, 2015 PX4 Development Team. All rights reserved.
* Copyright (c) 2012-2016 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -96,7 +96,7 @@ top_main(int argc, char *argv[])
case 0x1b: // esc
case 'c':
case 'q':
return OK;
return 0;
/* not reached */
}
}
@@ -107,5 +107,5 @@ top_main(int argc, char *argv[])
curr_time = hrt_absolute_time();
}
return OK;
return 0;
}