Skip to content

Commit

Permalink
Fixed ConvertCOM_ComHandle() parameters (start from zero)
Browse files Browse the repository at this point in the history
  • Loading branch information
cw2 committed Jul 28, 2015
1 parent 777656c commit e6b5dac
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions DeviceCode/Targets/Native/STM32F4/processor_selector.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ ERROR - WE SHOULD NOT INCLUDE THIS HEADER IF NOT BUILDING AN STM32F2/F4 PLATFORM
#endif

#define ITM0 ConvertCOM_GenericHandle( ITM_GENERIC_PORTNUM )
#define COM1 ConvertCOM_ComHandle(1)
#define COM2 ConvertCOM_ComHandle(2)
#define COM3 ConvertCOM_ComHandle(3)
#define COM4 ConvertCOM_ComHandle(4)
#define COM5 ConvertCOM_ComHandle(5)
#define COM6 ConvertCOM_ComHandle(6)
#define COM1 ConvertCOM_ComHandle(0)
#define COM2 ConvertCOM_ComHandle(1)
#define COM3 ConvertCOM_ComHandle(2)
#define COM4 ConvertCOM_ComHandle(3)
#define COM5 ConvertCOM_ComHandle(4)
#define COM6 ConvertCOM_ComHandle(5)

#define USB1 ConvertCOM_UsbHandle(0)
#define USB2 ConvertCOM_UsbHandle(1)
Expand Down

0 comments on commit e6b5dac

Please sign in to comment.