1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

Merge pull request #5870 from wind0r/remove_unused_define

remove unused swap serial define
This commit is contained in:
Andrey Mironov 2018-05-11 23:58:55 +03:00 committed by GitHub
commit 5bb83a348a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,14 +87,6 @@ PG_RESET_TEMPLATE(systemConfig_t, systemConfig,
.boardIdentifier = TARGET_BOARD_IDENTIFIER
);
#ifdef SWAP_SERIAL_PORT_0_AND_1_DEFAULTS
#define FIRST_PORT_INDEX 1
#define SECOND_PORT_INDEX 0
#else
#define FIRST_PORT_INDEX 0
#define SECOND_PORT_INDEX 1
#endif
#ifndef USE_OSD_SLAVE
uint8_t getCurrentPidProfileIndex(void)
{