Add a default ctor; due to 0 being magic, PID pid(0) is ambiguous.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@959 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
DrZiplok@gmail.com 2010-11-27 20:30:53 +00:00
parent da65814ece
commit 72cf1b4e57
1 changed files with 8 additions and 0 deletions

View File

@ -12,6 +12,14 @@
/// @brief Object managing one PID control
class PID {
public:
/// Constructor
///
/// A PID constructed in this fashion does not support save/restore.
///
PID() :
_address(0)
{}
/// Constructor
///
/// @param address EEPROM base address at which PID parameters