Change digital input to return boolean values to match Java

Change-Id: I5cfa1d300b8185ef7a32413b7f9626229d309cac
This commit is contained in:
Brad Miller
2014-09-25 18:35:25 -04:00
parent 66c653a21f
commit 295f212c8e
2 changed files with 2 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ DigitalInput::~DigitalInput()
* Get the value from a digital input channel.
* Retrieve the value of a single digital input channel from the FPGA.
*/
uint32_t DigitalInput::Get()
bool DigitalInput::Get()
{
int32_t status = 0;
bool value = getDIO(m_digital_ports[m_channel], &status);