mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 17:55:30 +03:00
Disable error interrupt USB // Fixes CPU overload and arming issues on some boards. Thanks to moto moto
This commit is contained in:
parent
350bae1ae9
commit
a1978b265a
1 changed files with 5 additions and 3 deletions
|
@ -67,9 +67,11 @@
|
||||||
/* IMR_MSK */
|
/* IMR_MSK */
|
||||||
/* mask defining which events has to be handled */
|
/* mask defining which events has to be handled */
|
||||||
/* by the device application software */
|
/* by the device application software */
|
||||||
// HJI #define IMR_MSK (CNTR_CTRM | CNTR_WKUPM | CNTR_SUSPM | CNTR_ERRM | CNTR_SOFM | CNTR_ESOFM | CNTR_RESETM )
|
// #define IMR_MSK (CNTR_CTRM | CNTR_WKUPM | CNTR_SUSPM | CNTR_ERRM | CNTR_SOFM | CNTR_ESOFM | CNTR_RESETM )
|
||||||
// Disable Suspend/Resume response completely // HJI
|
// Disable Suspend/Resume response completely
|
||||||
#define IMR_MSK (CNTR_CTRM | CNTR_WKUPM | CNTR_ERRM | CNTR_SOFM | CNTR_RESETM ) // HJI
|
// #define IMR_MSK (CNTR_CTRM | CNTR_WKUPM | CNTR_ERRM | CNTR_SOFM | CNTR_RESETM )
|
||||||
|
// Disable Error interrupt which wasn't really used anyway
|
||||||
|
#define IMR_MSK (CNTR_CTRM | CNTR_WKUPM | CNTR_SOFM | CNTR_RESETM )
|
||||||
|
|
||||||
/*#define CTR_CALLBACK*/
|
/*#define CTR_CALLBACK*/
|
||||||
/*#define DOVR_CALLBACK*/
|
/*#define DOVR_CALLBACK*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue