mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user