Peter Johnson
93b65aad36
DigitalInput: Don't crash on Get() of invalid channel.
...
The constructor sets m_channel to UINT32_MAX and reports an error if the
channel index is out of range (or CheckDigitalChannel fails for some other
reason). A Get() following this would result in a crash because it wasn't
checking StatusIsFatal().
The new behavior now checks StatusIsFatal() and simply returns false.
Change-Id: I15529401294e4ccd1e09df834e02cca367fab67c
2015-11-30 22:44:48 -08:00
..
2015-11-21 18:26:49 -05:00
2015-11-28 11:08:12 -08:00
2015-11-21 18:26:49 -05:00
2015-11-21 18:26:49 -05:00
2015-11-21 18:26:49 -05:00
2015-11-28 11:08:12 -08:00
2015-11-28 11:08:12 -08:00
2015-11-28 11:08:12 -08:00
2015-11-21 18:26:49 -05:00
2015-11-28 11:08:12 -08:00
2015-11-21 18:26:49 -05:00
2015-11-21 18:26:49 -05:00
2015-11-28 11:08:12 -08:00
2015-11-21 18:26:49 -05:00
2015-11-21 18:26:49 -05:00
2015-11-21 18:26:49 -05:00
2015-11-21 18:26:49 -05:00
2015-11-21 18:26:49 -05:00
2015-11-30 22:44:48 -08:00
2015-11-28 11:08:12 -08:00
2015-11-21 18:26:49 -05:00
2015-11-27 22:33:28 -08:00
2015-11-21 18:26:49 -05:00
2015-11-21 18:26:49 -05:00
2015-11-21 18:26:49 -05:00
2015-11-21 18:26:49 -05:00
2015-11-21 18:26:49 -05:00
2015-11-21 18:26:49 -05:00
2015-11-21 18:26:49 -05:00
2015-11-21 18:26:49 -05:00
2015-11-21 18:26:49 -05:00
2015-11-27 21:37:10 -08:00
2015-11-28 11:08:12 -08:00
2015-11-23 23:31:57 -08:00
2015-11-21 18:26:49 -05:00
2015-11-21 18:26:49 -05:00
2015-11-21 18:26:49 -05:00
2015-11-28 11:08:12 -08:00
2015-11-21 18:26:49 -05:00
2015-11-21 18:26:49 -05:00
2015-11-21 18:26:49 -05:00
2015-11-28 11:08:12 -08:00
2015-11-21 18:26:49 -05:00
2015-11-21 18:26:49 -05:00
2015-11-21 18:26:49 -05:00
2015-11-28 11:08:12 -08:00
2015-11-21 18:26:49 -05:00
2015-11-21 18:26:49 -05:00
2015-11-21 18:26:49 -05:00
2015-11-21 18:26:49 -05:00
2015-11-21 18:26:49 -05:00
2015-11-28 11:08:12 -08:00
2015-11-21 18:26:49 -05:00
2015-11-28 11:44:09 -08:00
2015-11-21 18:26:49 -05:00
2015-11-21 18:26:49 -05:00