X-Git-Url: https://git.ucc.asn.au/?p=uccvend-snackrom.git;a=blobdiff_plain;f=ROM2%2Fvend.h;h=17ba674d1fd88c2deee12ec3b8692bde5283c997;hp=03d8c9e888266cd3bc856fe1cd363d74a94870ff;hb=c34cbe163ce52f1d8fc553993701054f4942152f;hpb=2f0efd60475ee16d3c1284f9f9691b7740aa168d diff --git a/ROM2/vend.h b/ROM2/vend.h index 03d8c9e..17ba674 100644 --- a/ROM2/vend.h +++ b/ROM2/vend.h @@ -41,7 +41,7 @@ void my_memcpy(char* dst, char* src, u8 size); #define PORTD_KEYPAD_ROW 0x20 /* clear for row 0, set for row 1 */ -#define PORTE_MOTOR_OVERCURRENT 0x01 +#define PORTE_MOTOR_NOT_OVERCURRENT 0x01 #define PORTE_MOTOR_OVERVOLTAGE 0x02 /* Address 1800 bits */ @@ -60,7 +60,8 @@ void my_memcpy(char* dst, char* src, u8 size); /******* from main.c *******/ int __attribute__((noreturn)) main (void); void __attribute__((interrupt)) rti (void); -void __attribute__((interrupt)) sci_interrupt (void); +void __attribute__((interrupt)) sci_interrupt_serial (void); +void __attribute__((interrupt)) sci_interrupt_coinmech (void); void __attribute__((interrupt)) uart_interrupt (void); /* other one liners */