-
Notifications
You must be signed in to change notification settings - Fork 4
Nucleo f303re enhnancements #12
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
base: main
Are you sure you want to change the base?
Conversation
app/src/remote_control.c
Outdated
| void UART_Init(void) {} | ||
|
|
||
| void sbus_translate(control_data* _control, uint8_t* _buffer) { | ||
| _control->joystickA = (_buffer[0] >> 1) & 0x7F; // 7bits |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| UART_HandleTypeDef huart1; | ||
| uint8_t UART1_rxBuffer; | ||
|
|
||
| osMessageQDef(remoteQueue, 16, unsigned int); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Faltan los message pools
| extern osMessageQId outputQueueChassis; | ||
| extern osMessageQId inputQueueChassis; | ||
|
|
||
| extern osMessageQId remoteQueue; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Falta el message pool
| #include "usart.h" | ||
|
|
||
| control_data control1; | ||
| UART_HandleTypeDef huart1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Este, en teoría debe de estar declarado en el robot config... no hay necesidad de redeclararlo.

No description provided.