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

pybricks / pybricks-micropython / 20572312304

29 Dec 2025 11:49AM UTC coverage: 51.132% (-4.7%) from 55.816%
20572312304

Pull #442

github

laurensvalk
pbio/drv/bluetooth_btstack: Don't call hci_set_chipset during init.

We call this again when we discover the local version. We shouldn't be calling this twice.
Pull Request #442: pbio/drv/bluetooth_btstack: Generalizations to prepare for POSIX variant.

19 of 35 new or added lines in 5 files covered. (54.29%)

51 existing lines in 5 files now uncovered.

4631 of 9057 relevant lines covered (51.13%)

14859728.88 hits per line

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

0.0
/lib/pbio/src/debug.c
1
// SPDX-License-Identifier: MIT
2
// Copyright (c) 2021-2025 The Pybricks Authors
3

4
#include <pbdrv/usb.h>
5
#include <pbdrv/../../drv/uart/uart_debug_first_port.h>
6

7
#include <pbio/debug.h>
8

NEW
9
void pbio_debug_va(const char *format, va_list args) {
×
10
    char buf[256];
NEW
11
    size_t len = vsnprintf(buf, sizeof(buf), format, args);
×
NEW
12
    pbdrv_usb_debug_print(buf, len);
×
13
    pbdrv_uart_debug_print(buf, len);
NEW
14
}
×
15

NEW
16
void pbio_debug(const char *format, ...) {
×
17
    va_list args;
NEW
18
    va_start(args, format);
×
NEW
19
    pbio_debug_va(format, args);
×
NEW
20
    va_end(args);
×
NEW
21
}
×
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