1
0
Fork 0

cleanup comments

This commit is contained in:
Kevin Matz 2023-03-30 20:15:35 -04:00
parent 6cd9a9e6df
commit f9efddf583
1 changed files with 2 additions and 4 deletions

View File

@ -62,9 +62,8 @@ struct Receiver
* @param cur If incorporating hysteresis, the current state of the switch.
* @return
*
* \cite ANALOG It is suggested that receiving devices that switch between "off" and "on,"
* such as relay packs, should consider incorporating hysteresis in switching between "off" and
* "on." For example a switch "on" point of 60% and a switch "off" point of 40% may be selected.
* \cite ANALOG It is suggested that receiving devices that switch between "off" and "on," such
* as relay packs, should consider incorporating hysteresis in switching between "off" and "on."
*/
bool state(const int16_t mV, const bool cur = false) const
{
@ -76,7 +75,6 @@ struct Receiver
if (!cur)
return mV > 6000; // 6V
return !(mV < 4000); // 4V
}
};