From 04fbfdb4fd6bf4118b88867d852e3b29d139c800 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Thu, 23 Oct 2025 16:01:22 -0400 Subject: fw: remove usb --- fw/tests/system/eeprom_systest.c | 44 ---------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 fw/tests/system/eeprom_systest.c (limited to 'fw/tests') diff --git a/fw/tests/system/eeprom_systest.c b/fw/tests/system/eeprom_systest.c deleted file mode 100644 index 81fa189..0000000 --- a/fw/tests/system/eeprom_systest.c +++ /dev/null @@ -1,44 +0,0 @@ -#include - -#include - -#include "system.h" -#include "types.h" -#include "spi.h" -#include "eeprom.h" -#include "usb.h" - -void -main(void) { - sysInit(); - spiInit(); - eepromInit(); - usbInit(); - - T1CON = 0; - T1CONbits.TMR1CS = 0x0; // FOSC/4 - T1CONbits.T1CKPS = 0x3; // 1:8 prescaler - T1CONbits.TMR1ON = 1; - - TMR1IE = 1; - TMR1IF = 0; - PEIE = 1; - GIE = 1; - - for (;;) { - - } -} - -void -__interrupt() isr(void) { - static U8 ctr = 0u; - - if (TMR1IF) { - if (ctr == 23u) { // 1s period - - } - ctr = (ctr+1u) % 23u; - TMR1IF = 0; - } -} -- cgit v1.2.3