altos/telefireone-v1.0: Track ao_led_init API change
[fw/altos] / src / drivers / ao_button.h
index ce349d651647feea57c025025b1e63109792971d..601472f93411dc516055134541a670c3d22de775 100644 (file)
@@ -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
@@ -18,6 +19,9 @@
 #ifndef _AO_BUTTON_H_
 #define _AO_BUTTON_H_
 
+uint8_t
+ao_button_get(uint8_t b);
+
 void
 ao_button_init(void);