Exemple #1
0
bool usb_vcp_is_connected(void) {
    return USBD_CDC_IsConnected();
}
Exemple #2
0
STATIC mp_obj_t py_vcp_is_connected(void ) {
    return MP_BOOL(USBD_CDC_IsConnected());
}