altos/telelco-v2.0: Fix button names and pin mappings. Add drag LED.
[fw/altos] / src / avr / ao_usb_avr.c
index bd75b17d7a5cc21638ea2d02c81b04019525a8ad..41d3c1becbf44fbb3f47480d172ae770a528c869 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
@@ -46,7 +47,7 @@ static __xdata uint8_t        ao_usb_ep0_out_len;
 static __xdata uint8_t *__xdata ao_usb_ep0_out_data;
 
 static __xdata uint8_t ao_usb_in_flushed;
-static __xdata uint8_t ao_usb_running;
+__xdata uint8_t                ao_usb_running;
 static __xdata uint8_t ao_usb_configuration;
 static __xdata uint8_t ueienx_0;
 
@@ -135,7 +136,7 @@ ISR(USB_GEN_vect)
 }
 
 
-__xdata static struct ao_usb_line_coding ao_usb_line_coding = {115200, 0, 0, 8};
+struct ao_usb_line_coding ao_usb_line_coding = {115200, 0, 0, 8};
 
 /* Walk through the list of descriptors and find a match
  */