Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleaned up unnecessary code in F4 serial device #1993

Merged
merged 1 commit into from Jan 4, 2017

Conversation

blckmn
Copy link
Member

@blckmn blckmn commented Jan 4, 2017

No description provided.

@borisbstyle borisbstyle merged commit ecc5627 into betaflight:master Jan 4, 2017
@@ -52,11 +52,9 @@ typedef struct uartDevice_s {
ioTag_t tx;
volatile uint8_t rxBuffer[UART_RX_BUFFER_SIZE];
volatile uint8_t txBuffer[UART_TX_BUFFER_SIZE];
uint32_t rcc_ahb1;
rccPeriphTag_t rcc_apb2;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rccPeriphTag_t encodes bus type, so rcc_uart can replace rcc_apb2 and rcc_apb1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants