X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fdrivers%2Fao_pad.h;h=648d3005f000172babbfc594cebb6aeaa5bb86af;hb=09f8710eb320f37f20dda8c635497c2b505d25e2;hp=23062899bdf29fd0e1140cc3d7f9931e2874ac69;hpb=e45c47c52f9cc9c43b81148e0e58fdedb3af1eb8;p=fw%2Faltos diff --git a/src/drivers/ao_pad.h b/src/drivers/ao_pad.h index 23062899..648d3005 100644 --- a/src/drivers/ao_pad.h +++ b/src/drivers/ao_pad.h @@ -3,7 +3,8 @@ * * 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 @@ -39,6 +40,7 @@ struct ao_pad_query { uint8_t channels; /* which chanels are present */ uint8_t armed; /* which channels are armed */ uint8_t arm_status; /* status of arming switch */ + uint8_t battery; /* battery voltage in decivolts */ uint8_t igniter_status[AO_PAD_MAX_CHANNELS]; /* status for each igniter */ };