5 second limit

This commit is contained in:
Polprzewodnikowy 2022-09-11 11:41:31 +02:00
parent 3c1e4e5b42
commit e88531c5a2
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#include "vr4300.h" #include "vr4300.h"
#define WATCHDOG_TIMEOUT (3 * (93750000UL / 2)) #define WATCHDOG_TIMEOUT (5 * (93750000UL / 2))
#define VECTOR_LOCATION (0xA0000000UL) #define VECTOR_LOCATION (0xA0000000UL)
#define VECTOR_SIZE (0x80) #define VECTOR_SIZE (0x80)

View File

@ -66,7 +66,7 @@ void exception_fatal_handler (uint32_t exception_code, uint32_t interrupt_mask,
if (exception_code == EXCEPTION_INTERRUPT) { if (exception_code == EXCEPTION_INTERRUPT) {
if (interrupt_mask & INTERRUPT_MASK_TIMER) { if (interrupt_mask & INTERRUPT_MASK_TIMER) {
exception_disable_watchdog(); exception_disable_watchdog();
display_printf("Still loading after 3 second limit...\n\n"); display_printf("Still loading after 5 second limit...\n\n");
return; return;
} }
} else if (exception_code == EXCEPTION_SYSCALL) { } else if (exception_code == EXCEPTION_SYSCALL) {