Add Test Pullup Crash menu
This commit is contained in:
parent
b7806bf25f
commit
0b8ecfbf7c
|
|
@ -1858,6 +1858,9 @@ static void lcd_stack_crash()
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void TestPullupCrash() {
|
||||||
|
PORTF |= 0x01;
|
||||||
|
}
|
||||||
|
|
||||||
//! @brief Show Support Menu
|
//! @brief Show Support Menu
|
||||||
//!
|
//!
|
||||||
|
|
@ -2069,6 +2072,9 @@ static void lcd_support_menu()
|
||||||
|
|
||||||
#endif //MK1BP
|
#endif //MK1BP
|
||||||
|
|
||||||
|
#ifdef DEBUG_PULLUP_CRASH
|
||||||
|
MENU_ITEM_FUNCTION_P(_n("Test Pullup Crash"), TestTestPullupCrash);
|
||||||
|
#endif // DEBUG_PULLUP_CRASH
|
||||||
MENU_END();
|
MENU_END();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -168,6 +168,8 @@
|
||||||
#define DEBUG_DCODE3
|
#define DEBUG_DCODE3
|
||||||
#define DEBUG_DCODE6
|
#define DEBUG_DCODE6
|
||||||
|
|
||||||
|
#define DEBUG_PULLUP_CRASH //Test Pullup crash
|
||||||
|
|
||||||
//#define DEBUG_BUILD
|
//#define DEBUG_BUILD
|
||||||
//#define DEBUG_SEC_LANG //secondary language debug output at startup
|
//#define DEBUG_SEC_LANG //secondary language debug output at startup
|
||||||
//#define DEBUG_XFLASH //debug external spi flash
|
//#define DEBUG_XFLASH //debug external spi flash
|
||||||
|
|
|
||||||
|
|
@ -170,6 +170,8 @@
|
||||||
#define DEBUG_DCODE3
|
#define DEBUG_DCODE3
|
||||||
#define DEBUG_DCODE6
|
#define DEBUG_DCODE6
|
||||||
|
|
||||||
|
#define DEBUG_PULLUP_CRASH //Test Pullup crash
|
||||||
|
|
||||||
//#define DEBUG_BUILD
|
//#define DEBUG_BUILD
|
||||||
//#define DEBUG_SEC_LANG //secondary language debug output at startup
|
//#define DEBUG_SEC_LANG //secondary language debug output at startup
|
||||||
//#define DEBUG_XFLASH //debug external spi flash
|
//#define DEBUG_XFLASH //debug external spi flash
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue