mirror of
https://github.com/EFeru/hoverboard-sideboard-hack-STM.git
synced 2026-01-12 05:56:56 +00:00
Improved UART Timeout
Major: - Improved UART Timeout: Apparently, the UART data Rx/Tx is quite unreliable (especially under motor load) leading to very often out-of-sync issues. This change allows to reset the DMA more often, leading to a faster re-sync of the UART transmission and thus avoiding UART timeout. Issue #1 Minor: - added #define MPU_SENSOR_ENABLE to allow to enable/disable the MPU6050 sensor and save code size if the sensors is not needed - fixed the orientation in the Processing sketch - updated ReadMe
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
*/
|
||||
#ifndef DMPMAP_H
|
||||
#define DMPMAP_H
|
||||
#ifdef MPU_SENSOR_ENABLE
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
@@ -261,4 +262,6 @@ extern "C"
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // MPU_SENSOR_ENABLE
|
||||
#endif // DMPMAP_H
|
||||
|
||||
Reference in New Issue
Block a user