newcastlecy / openwrt-hiwifi

Automatically exported from code.google.com/p/openwrt-hiwifi
1 stars 0 forks source link

需要支持最新Trunk版(38888)的mach-tw150v1.c #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
RT,好不容易对照官方放出的源码加入极路由支持,PATCH文件都
改好了,就是编译到官方的mach-tw150v1.c就出错(好像是隐式函
数出错),求一个支持新版的mach-tw150v1.c(本人小白不会改啊
),谢谢各位大神

Original issue reported on code.google.com by S.STR...@gmail.com on 22 Nov 2013 at 12:28

Attachments:

GoogleCodeExporter commented 9 years ago
你把错误代码贴出来,大家才能帮你解决

Original comment by myangles...@gmail.com on 8 Dec 2014 at 10:31

GoogleCodeExporter commented 9 years ago
#define TW150V1_GPIO_LED_WLAN_2P4   0   /* 2.4G wlan led */
#define TW150V1_GPIO_LED_USBFLAG    6   /* usb flag */
#define TW150V1_GPIO_LED_SYSTEM     1   /* system led */
#define TW150V1_GPIO_LED_INTERNET   27  /* internet led */

#define TW150V1_GPIO_USBPOWER       20  /* usb power control */
#define TW150V1_GPIO_BTN_RST        11  /* reset and wps button */

#define TW150V1_GPIO_LED_LAN1   13
#define TW150V1_GPIO_LED_LAN2   14
#define TW150V1_GPIO_LED_LAN3   15
#define TW150V1_GPIO_LED_LAN4   16
#define TW150V1_GPIO_LED_WAN    17

#define TW150V1_KEYS_POLL_INTERVAL  20  /* msecs */
#define TW150V1_KEYS_DEBOUNCE_INTERVAL  (3 * TW150V1_KEYS_POLL_INTERVAL)

Original comment by myangles...@gmail.com on 8 Dec 2014 at 10:36