Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
7534cb62f9 | |||
|
d2f3cbc783 |
2 changed files with 9 additions and 1 deletions
|
@ -1 +1,4 @@
|
|||
# Libs_SequentMicrosystems
|
||||
# Libs_SequentMicrosystems
|
||||
|
||||
Supported Boards:
|
||||
- RTD Data Acquisition 8-Layer Stackable HAT for Raspberry Pi (https://sequentmicrosystems.com/products/rtd-data-acquisition-card-for-rpi)
|
|
@ -41,6 +41,11 @@ namespace Libs_SequentMicrosystems
|
|||
throw new IOException($"Fail to communicate with the RTD card with message: \"{e.Message}\"");
|
||||
}
|
||||
|
||||
if (val < 0)
|
||||
{
|
||||
val = 0;
|
||||
}
|
||||
|
||||
return val;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue