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

pybricks / pybricks-micropython / 18107352107

29 Sep 2025 06:40PM UTC coverage: 60.042% (-0.005%) from 60.047%
18107352107

push

github

laurensvalk
pbio/sys/core: Monitor disconnection change.

This is a basic test to unset the connection status to clear the Bluetooth light.

This is expected to be generalized when we complete USB support with a proper status indicator. For now, this suffices to avoid introducing a regression after the recent Bluetooth overhaul.

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

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

4 existing lines in 1 file now uncovered.

4311 of 7180 relevant lines covered (60.04%)

20275121.79 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/lib/pbio/sys/program_stop.h
1
// SPDX-License-Identifier: MIT
2
// Copyright (c) 2021-2024 The Pybricks Authors
3

4
#ifndef _PBSYS_SYS_PROGRAM_STOP_H_
5
#define _PBSYS_SYS_PROGRAM_STOP_H_
6

7
#include <pbsys/config.h>
8

9
#if PBSYS_CONFIG_PROGRAM_STOP
10

11
void pbsys_program_stop_poll(void);
12
void pbsys_program_stop(bool force_stop);
13

14
#else // PBSYS_CONFIG_PROGRAM_STOP
15

UNCOV
16
static inline void pbsys_program_stop_poll(void) {
×
UNCOV
17
}
×
18

UNCOV
19
static inline void pbsys_program_stop(bool force_stop) {
×
UNCOV
20
}
×
21

22
#endif // PBSYS_CONFIG_PROGRAM_STOP
23

24
#endif // _PBSYS_SYS_PROGRAM_STOP_H_
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