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

Pull request #123

Merged
merged 6 commits into from
Aug 14, 2024
Merged

Pull request #123

merged 6 commits into from
Aug 14, 2024

Commits on Aug 14, 2024

  1. Configuration menu
    Copy the full SHA
    c49d994 View commit details
    Browse the repository at this point in the history
  2. ♻️ adjust the loop in logic blocks

    - The `select!` macro uses the `biased` option so clauses are
      evaluated in order. The time-of-day and solar futures are placed
      first because they happen infrequently and we don't want high-speed
      devices starving these channels.
    - For the solar channel, we now do more error reporting. This helped
      uncover a bug (fixed in a different commit.)
    - Rather than returning Futures that return None, we now use the never
      resolving future.
    rneswold committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    8d71f9f View commit details
    Browse the repository at this point in the history
  3. 🔧 add test for logic block

    This tests a logic block that only uses solar parameters for inputs.
    rneswold committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    1979088 View commit details
    Browse the repository at this point in the history
  4. 🐛 make channel larger

    When this channel was only 1 deep, logic blocks would occasionally get
    a Lagging error which would cause them to panic. The logic block code
    was improved, but the channel was enlarged so these error wouldn't
    occur under normal circumstances.
    rneswold committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    e205b39 View commit details
    Browse the repository at this point in the history
  5. ♻️ rewrite section

    A section was placed in a nested scope. This allowed us to remove two
    calls to `std::mem::drop()`.
    rneswold committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    f88d402 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a6acbf2 View commit details
    Browse the repository at this point in the history