Change uint to int for channels on constructors which can take a single channel or single pointer to avoid ambiguous calls.

Change-Id: Id56f611675bf4dee8d31e152c4ee30112d07aac4
This commit is contained in:
Kevin O'Connor
2014-11-19 11:40:43 -05:00
parent c7a90b2ccc
commit 867e4080dc
8 changed files with 12 additions and 12 deletions

View File

@@ -75,7 +75,7 @@ void Gyro::InitGyro()
*
* @param channel The analog channel the gyro is connected to.
*/
Gyro::Gyro(uint32_t channel)
Gyro::Gyro(int32_t channel)
{
m_analog = new AnalogInput(channel);
m_channelAllocated = true;