# HG changeset patch # User Josef 'Jeff' Sipek # Date 1672871785 18000 # Wed Jan 04 17:36:25 2023 -0500 # Node ID b3fc6fa0f91b03ebfe89d1225c94e2232ef2d209 # Parent 37baf263bc306d994f92d9a69e204766b6dde26b Remove redundant code The most recent merge with avr-common brings us these macros via arch.h. Therefore the ones in main.c are redundant. Signed-off-by: Josef 'Jeff' Sipek diff --git a/main.c b/main.c --- a/main.c +++ b/main.c @@ -23,15 +23,6 @@ #include "arch.h" #include "fmfox.h" -#define PIN_INPUT_PORT_Z(bit) 0 -#define PIN_INPUT_PORT_H(bit) (1 << (bit)) -#define PIN_INPUT_DDR(bit) 0 -#define PIN_OUTPUT_PORT_H(bit) (1 << (bit)) -#define PIN_OUTPUT_PORT_L(bit) 0 -#define PIN_OUTPUT_DDR(bit) (1 << (bit)) - -#define PORTC (offsetof(struct mmregs_layout, portc) - 0x20) - #define TONE_LEN_PATTERN_PAUSE (OUT_SAMPLE_RATE / 2) /* 1/2 second */ #define TONE_LEN_FIXED (OUT_SAMPLE_RATE / 4) /* 1/4 second tones */ #define TONE_LEN_LFSR (OUT_SAMPLE_RATE / 4) /* 1/4 second tones */