Commit 0e0ae979 authored by Sven Wegener's avatar Sven Wegener Committed by Damien George
Browse files

stmhal: Declare variables extern in include files

Else we end up with several instances of the variable.
Signed-off-by: default avatarSven Wegener <>
parent 1a5a6d14
......@@ -24,6 +24,6 @@
const byte fresult_to_errno_table[20];
extern const byte fresult_to_errno_table[20];
......@@ -41,7 +41,7 @@ typedef enum {
} usb_storage_medium_t;
const mp_obj_type_t pyb_usb_vcp_type;
extern const mp_obj_type_t pyb_usb_vcp_type;
void pyb_usb_init0(void);
void pyb_usb_dev_init(usb_device_mode_t mode, usb_storage_medium_t medium);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment