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

@@ -26,7 +26,7 @@ void AnalogAccelerometer::InitAccelerometer()
*
* The constructor allocates desired analog input.
*/
AnalogAccelerometer::AnalogAccelerometer(uint32_t channel)
AnalogAccelerometer::AnalogAccelerometer(int32_t channel)
{
m_AnalogInput = new AnalogInput(channel);
m_allocatedChannel = true;