• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pybricks / pybricks-micropython / 11145354401
50%
master: 50%

Build:
Build:
LAST BUILD BRANCH: multi-host
DEFAULT BRANCH: master
Ran 02 Oct 2024 02:06PM UTC
Jobs 2
Files 120
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Oct 2024 02:04PM UTC coverage: 56.819% (-0.06%) from 56.876%
11145354401

push

github

laurensvalk
pbio/sys/hmi: Run hmi only while user program inactive.

The previous approach would go to the start but still run until the next yield. This meant that if the stop button was pressed while a program gracefully exists, it would already be in the "second stage" of the following

        PT_WAIT_UNTIL(pt, !button_pressed);
        PT_WAIT_UNTIL(pt, button_pressed);
        PT_WAIT_UNTIL(pt, !button_pressed);
        pbsys_main_program_request_start(selected_slot);

Then on release, the program would immediately restart.

PT_EXIT has the same effect of resetting the state to the start, but existing immediately after that.

Fixes https://github.com/pybricks/support/issues/1863

1 of 1 new or added line in 1 file covered. (100.0%)

3 existing lines in 1 file now uncovered.

3862 of 6797 relevant lines covered (56.82%)

20467109.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 PBIO - 11145354401.1 02 Oct 2024 02:09PM UTC 0
62.19
GitHub Action Run
2 virtualhub - 11145354401.2 02 Oct 2024 02:06PM UTC 0
50.62
GitHub Action Run
Source Files on build 11145354401
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #11145354401
  • a047055c on github
  • Prev Build on work (#11141728552)
  • Next Build on work (#11342387037)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc