File tree Expand file tree Collapse file tree 4 files changed +11
-13
lines changed Expand file tree Collapse file tree 4 files changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -1777,8 +1777,6 @@ void DAP_Setup(void) {
1777
1777
1778
1778
// Default settings
1779
1779
DAP_Data .debug_port = 0U ;
1780
- // DAP_Data.fast_clock = 0U;
1781
- // DAP_Data.clock_delay = CLOCK_DELAY(DAP_DEFAULT_SWJ_CLOCK);
1782
1780
DAP_Data .transfer .idle_cycles = 0U ;
1783
1781
DAP_Data .transfer .retry_count = 100U ;
1784
1782
DAP_Data .transfer .match_retry = 0U ;
Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ enum hex_record_t {
32
32
START_SEG_ADDR_RECORD = 3 ,
33
33
EXT_LINEAR_ADDR_RECORD = 4 ,
34
34
START_LINEAR_ADDR_RECORD = 5 ,
35
- CUSTOM_METADATA_RECORD = 0x0A ,
36
- CUSTOM_DATA_RECORD = 0x0D ,
35
+ CUSTOM_METADATA_RECORD = 0x0A ,
36
+ CUSTOM_DATA_RECORD = 0x0D ,
37
37
};
38
38
39
39
typedef union hex_line_t hex_line_t ;
Original file line number Diff line number Diff line change @@ -387,14 +387,14 @@ void main_task(void * arg)
387
387
388
388
case USB_CONNECTED :
389
389
case USB_DISCONNECTED :
390
- if (usbd_configured ()) {
391
- usb_state = USB_CONNECTED ;
392
- }
393
- else {
394
- usb_state = USB_DISCONNECTED ;
395
- usb_state_count = USB_CONNECT_DELAY ;
396
- usb_no_config_count = USB_CONFIGURE_TIMEOUT ;
397
- }
390
+ if (usbd_configured ()) {
391
+ usb_state = USB_CONNECTED ;
392
+ }
393
+ else {
394
+ usb_state = USB_DISCONNECTED ;
395
+ usb_state_count = USB_CONNECT_DELAY ;
396
+ usb_no_config_count = USB_CONFIGURE_TIMEOUT ;
397
+ }
398
398
default :
399
399
break ;
400
400
}
Original file line number Diff line number Diff line change @@ -44,9 +44,9 @@ typedef struct __attribute__((__packed__)) cfg_setting {
44
44
uint8_t auto_rst ;
45
45
uint8_t automation_allowed ;
46
46
uint8_t overflow_detect ;
47
+ uint8_t detect_incompatible_target ;
47
48
48
49
// Add new members here
49
- uint8_t detect_incompatible_target ;
50
50
51
51
} cfg_setting_t ;
52
52
You can’t perform that action at this time.
0 commit comments