Skip to content

Commit 4f7c0fe

Browse files
authored
Merge pull request #253 from dotsam/compiler-warnings
Fix some compiler warnings
2 parents 810eae9 + 458617a commit 4f7c0fe

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

platformio.ini

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ upload_protocol = stlink
1111
; Different gcc versions produce much different binaries in terms of speed.
1212
platform_packages = platformio/[email protected]
1313
build_flags =
14-
-DARDUINO_GENERIC_STM32F103C
1514
-DARDUINO_LIB_DISCOVERY_PHASE
16-
-DARDUINO=10813
1715
-DARDUINO_ARCH_STM32
1816
-DDEBUG_LEVEL=DEBUG_NONE
1917
-O2
@@ -78,9 +76,7 @@ build_flags =
7876
-D USB_MANUFACTURER="Unknown"
7977
-D USB_PRODUCT="\"BLUEPILL_F103C8\""
8078
-D HAL_PCD_MODULE_ENABLED
81-
-DARDUINO_GENERIC_STM32F103C
8279
-DARDUINO_LIB_DISCOVERY_PHASE
83-
-DARDUINO=10813
8480
-DARDUINO_ARCH_STM32
8581
-DDEBUG_LEVEL=DEBUG_NONE
8682
-O2

src/BlueSCSI.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ enum SCSI_DEVICE_TYPE
235235
// Put DB and DP in output mode
236236
#define SCSI_DB_OUTPUT() { PBREG->CRL=(PBREG->CRL &0xfffffff0)|DB_MODE_OUT; PBREG->CRH = 0x11111111*DB_MODE_OUT; }
237237
// 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; }
239239

240240
// HDDiamge file
241241
#define HDIMG_ID_POS 2 // Position to embed ID number

0 commit comments

Comments
 (0)