Skip to content
Snippets Groups Projects
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 <sven.wegener@stealer.net>
parent 1a5a6d14
No related branches found
No related tags found
No related merge requests found
...@@ -24,6 +24,6 @@ ...@@ -24,6 +24,6 @@
* THE SOFTWARE. * THE SOFTWARE.
*/ */
const byte fresult_to_errno_table[20]; extern const byte fresult_to_errno_table[20];
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_open_obj); MP_DECLARE_CONST_FUN_OBJ(mp_builtin_open_obj);
...@@ -41,7 +41,7 @@ typedef enum { ...@@ -41,7 +41,7 @@ typedef enum {
USB_STORAGE_MEDIUM_SDCARD, USB_STORAGE_MEDIUM_SDCARD,
} usb_storage_medium_t; } 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_init0(void);
void pyb_usb_dev_init(usb_device_mode_t mode, usb_storage_medium_t medium); void pyb_usb_dev_init(usb_device_mode_t mode, usb_storage_medium_t medium);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment