From 779117bb60f449a811b8cd7ef22f949f6c54976c Mon Sep 17 00:00:00 2001 From: Nathaniel Wesley Filardo Date: Sun, 28 Feb 2010 20:01:38 -0500 Subject: [PATCH] Some small cleanups --- target/main.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/target/main.c b/target/main.c index ec1cc4a..6541c47 100644 --- a/target/main.c +++ b/target/main.c @@ -16,7 +16,6 @@ volatile u8 lastsample; volatile u8 timetoplay; volatile u8 test; -volatile u8 testwait; u8 trackwait; u8 trackpos; @@ -27,6 +26,7 @@ u32 noiseseed = 1; u8 light[2]; +/* The layout of this structure is known to assembler */ volatile struct oscillator { u16 freq; u16 phase; @@ -35,17 +35,6 @@ volatile struct oscillator { u8 volume; // 0-255 } osc[NR_CHAN]; -struct trackline { - u8 note; - u8 instr; - u8 cmd[2]; - u8 param[2]; - }; - -struct track { - struct trackline line[TRACKLEN]; -}; - struct unpacker { u16 nextbyte; u8 buffer; -- 2.50.1