Skip to content

Commit

Permalink
fix cbs
Browse files Browse the repository at this point in the history
  • Loading branch information
xMasterX committed Nov 26, 2024
1 parent 1380605 commit 4758cd6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions base_pack/avr_isp_programmer/helpers/avr_isp_worker.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ static const CdcCallbacks cdc_cb = {
vcp_state_callback,
vcp_on_cdc_control_line,
vcp_on_line_config,
NULL,
};

/* VCP callbacks */
Expand Down
4 changes: 3 additions & 1 deletion base_pack/swd_probe/usb_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ static const CdcCallbacks cdc_cb = {
.rx_ep_callback = &vcp_on_cdc_rx,
.state_callback = &vcp_state_callback,
.ctrl_line_callback = &vcp_on_cdc_control_line,
.config_callback = &vcp_on_line_config};
.config_callback = &vcp_on_line_config,
.break_callback = NULL,
};

static void usb_uart_vcp_init(UsbUart* usb_uart, uint8_t vcp_ch) {
furi_hal_usb_unlock();
Expand Down
1 change: 1 addition & 0 deletions non_catalog_apps/flipperzero_gpioreader/usb_uart_bridge.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ static const CdcCallbacks cdc_cb = {
vcp_state_callback,
vcp_on_cdc_control_line,
vcp_on_line_config,
NULL,
};

/* USB UART worker */
Expand Down
4 changes: 3 additions & 1 deletion non_catalog_apps/logic_analyzer/usb_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ static const CdcCallbacks cdc_cb = {
.rx_ep_callback = &vcp_on_cdc_rx,
.state_callback = &vcp_state_callback,
.ctrl_line_callback = &vcp_on_cdc_control_line,
.config_callback = &vcp_on_line_config};
.config_callback = &vcp_on_line_config,
.break_callback = NULL,
};

static void usb_uart_vcp_init(UsbUart* usb_uart, uint8_t vcp_ch) {
furi_hal_usb_unlock();
Expand Down

0 comments on commit 4758cd6

Please sign in to comment.