mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-02 02:51:42 +00:00
artf4107: Uniform initialization syntax introduced
Change-Id: I452b4794d757a0817589ec62b75eda7fbdd74904
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
*/
|
||||
void DigitalInput::InitDigitalInput(uint32_t channel)
|
||||
{
|
||||
m_table = nullptr;
|
||||
char buf[64];
|
||||
m_channel = channel;
|
||||
int n = sprintf(buf, "dio/%d", channel);
|
||||
@@ -32,13 +31,6 @@ DigitalInput::DigitalInput(uint32_t channel)
|
||||
InitDigitalInput(channel);
|
||||
}
|
||||
|
||||
/**
|
||||
* Free resources associated with the Digital Input class.
|
||||
*/
|
||||
DigitalInput::~DigitalInput()
|
||||
{
|
||||
}
|
||||
|
||||
/*
|
||||
* Get the value from a digital input channel.
|
||||
* Retrieve the value of a single digital input channel from the FPGA.
|
||||
|
||||
Reference in New Issue
Block a user