X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fusbrelay-v0.1%2Fao_pins.h;h=20118728d9cda05eec71fe0892744f90b1ae313f;hb=015d3055a52532070e96469907683c3aa3eda44e;hp=ed60486d16077a2789479da7e7bf36b308d9f20c;hpb=acaad70e3db8f0b6ae45ca8309833db57bdf5ca2;p=fw%2Faltos diff --git a/src/usbrelay-v0.1/ao_pins.h b/src/usbrelay-v0.1/ao_pins.h index ed60486d..20118728 100644 --- a/src/usbrelay-v0.1/ao_pins.h +++ b/src/usbrelay-v0.1/ao_pins.h @@ -1,9 +1,10 @@ /* - * Copyright © 2015 Bdale Garbee + * Copyright © 2014 Bdale Garbee * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -66,6 +67,12 @@ #define LEDS_AVAILABLE (AO_LED_RED|AO_LED_GREEN) +/* RELAY */ + +#define RELAY_PORT 0 +#define RELAY_PIN 3 +#define RELAY_BIT (1 << RELAY_PIN) + /* Kludge the SPI driver to not configure any * pin for SCK or MOSI */