Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid using floating point in the heartbeat code #132

Merged
merged 1 commit into from
Jan 5, 2021

Commits on Dec 10, 2020

  1. Avoid using floating point in the heartbeat code

    Prior work in 2015 in this repository (commit 1c8ae71 and 52f3151)
    had removed all uses of floating point, saving the flash memory needed
    for floating point software routines.
    
    More recently, floating point is used if HEARTBEAT_SUPERVISION is
    enabled. By making a few small changes and adjusting things to use
    integer math, we can save 600+ bytes of flash.
    
    This also removes the deprecated function `HsDeactivate` which isn't
    called from anywhere.
    toofishes committed Dec 10, 2020
    Configuration menu
    Copy the full SHA
    5800407 View commit details
    Browse the repository at this point in the history