diff options
author | cnlohr <lohr85@gmail.com> | 2018-04-24 20:03:31 -0400 |
---|---|---|
committer | cnlohr <lohr85@gmail.com> | 2018-04-24 20:03:31 -0400 |
commit | a5ab35527062617c21fdcd31305d1e0b8ed1d267 (patch) | |
tree | a74bd673c9c6587a931f9dc9fb084484ed213b3e /src/survive.c | |
parent | a1bcc011b227f5c68f3e42d4f41a40683680be3a (diff) | |
download | libsurvive-a5ab35527062617c21fdcd31305d1e0b8ed1d267.tar.gz libsurvive-a5ab35527062617c21fdcd31305d1e0b8ed1d267.tar.bz2 |
Pave the way for more, different, interesting devices.
Diffstat (limited to 'src/survive.c')
-rw-r--r-- | src/survive.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/survive.c b/src/survive.c index ce17295..13aeee9 100644 --- a/src/survive.c +++ b/src/survive.c @@ -343,6 +343,11 @@ int survive_startup(SurviveContext *ctx) { } } + if( ctx->objs_ct == 0 ) + { + SV_ERROR( "Fatal error: No trackable objects found in any calibrators." ); + } + return 0; } |