add I2C for F303, fix bug in USB (some variables wasn't volatile)

This commit is contained in:
eddyem
2023-01-22 21:55:49 +03:00
parent c6e3acc460
commit b415b94b55
35 changed files with 2605 additions and 27 deletions

View File

@@ -166,7 +166,7 @@ typedef struct {
extern ep_t endpoints[];
extern usb_dev_t USB_Dev;
extern uint8_t usbON;
extern volatile uint8_t usbON;
extern config_pack_t setup_packet;
extern uint8_t ep0databuf[];
extern uint8_t ep0dbuflen;