File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,7 @@ upload_protocol = stlink
11
11
; Different gcc versions produce much different binaries in terms of speed.
12
12
platform_packages = platformio/
[email protected]
13
13
build_flags =
14
- -DARDUINO_GENERIC_STM32F103C
15
14
-DARDUINO_LIB_DISCOVERY_PHASE
16
- -DARDUINO =10813
17
15
-DARDUINO_ARCH_STM32
18
16
-DDEBUG_LEVEL =DEBUG_NONE
19
17
-O2
@@ -78,9 +76,7 @@ build_flags =
78
76
-D USB_MANUFACTURER =" Unknown"
79
77
-D USB_PRODUCT =" \" BLUEPILL_F103C8\" "
80
78
-D HAL_PCD_MODULE_ENABLED
81
- -DARDUINO_GENERIC_STM32F103C
82
79
-DARDUINO_LIB_DISCOVERY_PHASE
83
- -DARDUINO =10813
84
80
-DARDUINO_ARCH_STM32
85
81
-DDEBUG_LEVEL =DEBUG_NONE
86
82
-O2
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ enum SCSI_DEVICE_TYPE
235
235
// Put DB and DP in output mode
236
236
#define SCSI_DB_OUTPUT () { PBREG->CRL=(PBREG->CRL &0xfffffff0)|DB_MODE_OUT; PBREG->CRH = 0x11111111*DB_MODE_OUT; }
237
237
// Put DB and DP in input mode
238
- #define SCSI_DB_INPUT () { PBREG->CRL=(PBREG->CRL &0xfffffff0)|DB_MODE_IN ; PBREG->CRH = (uint32_t)( 0x11111111*DB_MODE_IN) ; }
238
+ #define SCSI_DB_INPUT () { PBREG->CRL=(PBREG->CRL &0xfffffff0)|DB_MODE_IN ; PBREG->CRH = (uint32_t)0x11111111*DB_MODE_IN; }
239
239
240
240
// HDDiamge file
241
241
#define HDIMG_ID_POS 2 // Position to embed ID number
You can’t perform that action at this time.
0 commit comments