mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
artf4107: Uniform initialization syntax introduced
Change-Id: I452b4794d757a0817589ec62b75eda7fbdd74904
This commit is contained in:
@@ -13,8 +13,6 @@
|
||||
*/
|
||||
void AnalogInput::InitAnalogInput(uint32_t channel)
|
||||
{
|
||||
m_table = nullptr;
|
||||
|
||||
m_channel = channel;
|
||||
char buffer[50];
|
||||
int n = sprintf(buffer, "analog/%d", channel);
|
||||
@@ -33,13 +31,6 @@ AnalogInput::AnalogInput(uint32_t channel)
|
||||
InitAnalogInput(channel);
|
||||
}
|
||||
|
||||
/**
|
||||
* Channel destructor.
|
||||
*/
|
||||
AnalogInput::~AnalogInput()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a scaled sample straight from this channel.
|
||||
* The value is scaled to units of Volts using the calibrated scaling data from GetLSBWeight() and GetOffset().
|
||||
|
||||
Reference in New Issue
Block a user