1
0
forked from me/IronOS

Dump PC in assert failure

This commit is contained in:
Ben V. Brown
2022-10-22 23:15:30 +11:00
parent e594768e7f
commit ea7d270146
4 changed files with 18 additions and 10 deletions

View File

@@ -159,12 +159,3 @@ void setupFUSBIRQ() {
CPU_Interrupt_Enable(GPIO_INT0_IRQn);
gpio_irq_enable(FUSB302_IRQ_Pin, ENABLE);
}
void vAssertCalled(void) {
MSG((char *)"vAssertCalled\r\n");
PWM_Channel_Disable(PWM_Channel);
gpio_set_mode(PWM_Out_Pin, GPIO_INPUT_PD_MODE);
while (1)
;
}