File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ int32_t ccid_test_app(void* p) {
117
117
//setup view
118
118
CcidTestApp * app = ccid_test_app_alloc ();
119
119
120
- FuriHalUsbInterface * usb_mode_prev = furi_hal_usb_get_config ();
120
+ const FuriHalUsbInterface * usb_mode_prev = furi_hal_usb_get_config ();
121
121
furi_hal_usb_unlock ();
122
122
123
123
furi_check (furi_hal_usb_set_config (& usb_ccid , & app -> ccid_cfg ) == true);
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ int32_t usb_mouse_app(void* p) {
42
42
FuriMessageQueue * event_queue = furi_message_queue_alloc (8 , sizeof (UsbMouseEvent ));
43
43
ViewPort * view_port = view_port_alloc ();
44
44
45
- FuriHalUsbInterface * usb_mode_prev = furi_hal_usb_get_config ();
45
+ const FuriHalUsbInterface * usb_mode_prev = furi_hal_usb_get_config ();
46
46
furi_hal_usb_unlock ();
47
47
furi_check (furi_hal_usb_set_config (& usb_hid , NULL ) == true);
48
48
You can’t perform that action at this time.
0 commit comments