Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
de1: Handle heater voltage being an empty string
A newly connected DE1 may not yet have been queried for its line voltage when frequency estimation begins. Although ::settings(heater_voltage) exists, it may be an empty string. Resolve by returning False as is already the case when undefined. Note the Tcl inconsistency behing the logic: % set n "" % string is double $n 1 % expr { double($n) } expected floating-point number but got "" Signed-Off-By: Jeff Kletsky <[email protected]>
- Loading branch information