Add Test Pullup Crash menu

This commit is contained in:
3d-gussner 2022-02-07 13:28:48 +01:00
parent b7806bf25f
commit 0b8ecfbf7c
3 changed files with 10 additions and 0 deletions

View File

@ -1858,6 +1858,9 @@ static void lcd_stack_crash()
}
#endif
void TestPullupCrash() {
PORTF |= 0x01;
}
//! @brief Show Support Menu
//!
@ -2069,6 +2072,9 @@ static void lcd_support_menu()
#endif //MK1BP
#ifdef DEBUG_PULLUP_CRASH
MENU_ITEM_FUNCTION_P(_n("Test Pullup Crash"), TestTestPullupCrash);
#endif // DEBUG_PULLUP_CRASH
MENU_END();
}

View File

@ -168,6 +168,8 @@
#define DEBUG_DCODE3
#define DEBUG_DCODE6
#define DEBUG_PULLUP_CRASH //Test Pullup crash
//#define DEBUG_BUILD
//#define DEBUG_SEC_LANG //secondary language debug output at startup
//#define DEBUG_XFLASH //debug external spi flash

View File

@ -170,6 +170,8 @@
#define DEBUG_DCODE3
#define DEBUG_DCODE6
#define DEBUG_PULLUP_CRASH //Test Pullup crash
//#define DEBUG_BUILD
//#define DEBUG_SEC_LANG //secondary language debug output at startup
//#define DEBUG_XFLASH //debug external spi flash