cleanup comments
This commit is contained in:
parent
6cd9a9e6df
commit
f9efddf583
|
@ -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
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue