From 4f1f2b0b8c531153a6a897ffc767abb1a9d5d745 Mon Sep 17 00:00:00 2001 From: Simon Kirby Date: Sat, 12 Sep 2015 22:27:17 -0700 Subject: [PATCH] Replace empty LED macro definitions with automatic helper macros. --- afro.inc | 14 +++++++------- afro2.inc | 16 ++++++++-------- arctictiger.inc | 9 --------- birdie70a.inc | 9 --------- bs.inc | 9 --------- bs40a.inc | 9 --------- bs_nfet.inc | 9 --------- diy0.inc | 6 +++--- dlu40a.inc | 9 --------- dlux.inc | 9 --------- dys_nfet.inc | 9 --------- hk200a.inc | 9 --------- hm135a.inc | 9 --------- hxt200a.inc | 4 ---- kda.inc | 9 --------- kda_nfet.inc | 9 --------- kda_nfet_ni.inc | 9 --------- rb50a.inc | 9 --------- rb70a.inc | 9 --------- rct50a.inc | 9 --------- tbs.inc | 9 --------- tbs_hv.inc | 9 --------- tgy.asm | 23 +++++++++++++++++++++++ tgy.inc | 9 --------- tgy6a.inc | 9 --------- tp.inc | 9 --------- tp70a.inc | 9 --------- tp_i2c.inc | 9 --------- tp_nfet.inc | 9 --------- 29 files changed, 41 insertions(+), 238 deletions(-) diff --git a/afro.inc b/afro.inc index 5e70f40..a43b60a 100644 --- a/afro.inc +++ b/afro.inc @@ -52,28 +52,28 @@ ;********************* ; PORT D definitions * ;********************* -.equ WarnLED = 2 +.equ red_led = 2 .equ AnFET = 3 .equ BnFET = 4 .equ CnFET = 5 -.equ StatLED = 7 +.equ green_led = 7 .equ INIT_PD = 0 -.equ DIR_PD = (1<