We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a5a6d1 commit 0e0ae97Copy full SHA for 0e0ae97
stmhal/file.h
@@ -24,6 +24,6 @@
24
* THE SOFTWARE.
25
*/
26
27
-const byte fresult_to_errno_table[20];
+extern const byte fresult_to_errno_table[20];
28
29
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_open_obj);
stmhal/usb.h
@@ -41,7 +41,7 @@ typedef enum {
41
USB_STORAGE_MEDIUM_SDCARD,
42
} usb_storage_medium_t;
43
44
-const mp_obj_type_t pyb_usb_vcp_type;
+extern const mp_obj_type_t pyb_usb_vcp_type;
45
46
void pyb_usb_init0(void);
47
void pyb_usb_dev_init(usb_device_mode_t mode, usb_storage_medium_t medium);
0 commit comments