mag detection (sensors / commander): Default all sensors to internal, set the ones which have been found explicitely to zero if they were -1.

This commit is contained in:
Lorenz Meier
2015-02-28 04:01:10 +01:00
parent 81648f84cd
commit e4830eb53f
3 changed files with 14 additions and 7 deletions
@@ -1,6 +1,6 @@
/****************************************************************************
*
* Copyright (c) 2013, 2014 PX4 Development Team. All rights reserved.
* Copyright (c) 2013-2015 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
@@ -35,7 +35,7 @@
* @file state_machine_helper.cpp
* State machine helper functions implementations
*
* @author Thomas Gubler <thomasgubler@student.ethz.ch>
* @author Thomas Gubler <thomas@px4.io>
* @author Julian Oes <julian@oes.ch>
*/