1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2025-04-21 12:27:27 +03:00

atusb/fw2/: assigned hardware revision code point; some cleanup

- fw/include/atusb/ep0.h (HW_TYPE_110131): defined hardware type 2 for
  ATmega32U2-based boards
- fw/ep0.c: define HW_TYPE as HW_TYPE_110131, not directly as 2
- fw2/atusb.c: include atusb/ep0.h instead of declaring ep0_init locally
This commit is contained in:
Werner Almesberger
2011-02-10 07:24:37 -03:00
parent 4f0af39d4d
commit dcfa689936
3 changed files with 5 additions and 6 deletions

View File

@@ -1,8 +1,8 @@
/*
* include/atusb/ep0.h - EP0 extension protocol
*
* Written 2008-2010 by Werner Almesberger
* Copyright 2008-2010 Werner Almesberger
* Written 2008-2011 by Werner Almesberger
* Copyright 2008-2011 Werner Almesberger
*
* 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
@@ -45,6 +45,7 @@
#define HW_TYPE_100813 0 /* 2010-08-13 */
#define HW_TYPE_101216 1 /* 2010-12-16 */
#define HW_TYPE_110131 2 /* 2011-01-31, ATmega32U2-based */
/*