Commit graph

67 commits

Author SHA1 Message Date
Yuuichi Akagawa 82df4b990e Recover from OUT-NAK 2021-03-26 15:04:36 +09:00
Andrew J. Kroll 5c303ed62c Add extra yield for Espressif. Helps with WTD. 2018-11-18 04:46:36 -05:00
Kristian Sloth Lauszus 00aa35518b Release part of the code under "GPLv2 or later", so it is compatible with GPLv3
Fixes #364
2018-04-10 11:34:43 +02:00
Andrew J. Kroll 84b186152b Fix ESP RTOS WDT corner case, add W32 2018-01-13 22:36:35 -05:00
Andrew J. Kroll 9546dcb722 Fix ESP RTOS WDT corner case 2018-01-13 22:36:01 -05:00
Kristian Sloth Lauszus 5ba28d186f Used fixed width integer types, so it is not architecture dependent 2017-02-12 17:14:01 +01:00
Kristian Sloth Lauszus 42948831ce Explicit cast millis() and micros() to uint32_t, as it is uint64_t on the Arduino 101 2017-02-12 16:58:14 +01:00
Kristian Sloth Lauszus 6fb48f48e4 Fix millis() and micros() rollover bug
Also replace long with int32_t, so it is not architecture dependent
2017-02-12 15:10:07 +01:00
Kristian Sloth Lauszus fb723fcbb0 Don't set epAttribs to 0, as this will set bmNakPower to 0 as well. Instead set bmSndToggle and bmRcvToggle explicit to 0.
Fixes: #184
2015-11-18 00:11:33 +01:00
Kristian Sloth Lauszus e7bb5fafb1 Add delay between multiple calls to dispatchpkt inside InTransfer
Fixes: #167
2015-07-12 19:17:12 +02:00
Kristian Sloth Lauszus 5efed1938a Fixed: "warning: value computed is not used [-Wunused-value]"
See: http://stackoverflow.com/questions/4347684/pointer-value-computed-is-not-used-in-c-function
2015-04-20 00:55:04 +02:00
Phillip Stevens c61f9ce1c2 Update Usb.cpp
Typo in the InTransfer function relating to resolving toggle errors arising from hrTOGERR
2015-04-15 12:54:29 +10:00
Andrew J. Kroll da03f22741 fix pointer screwup that has been around for ages. 2015-03-18 05:35:44 -04:00
Andrew J. Kroll 2412be1bd9 Janitorial tab removal 2015-03-12 18:10:04 -04:00
Andrew J. Kroll d25f28109d all sources to LF 2015-02-22 13:18:45 -05:00
Kristian Lauszus 69fa08d141 Check DEVSUBCLASSOK as well when blindly attempt to configure 2014-09-10 00:21:01 -07:00
Andrew J. Kroll a58c6db580 Check subclasses during enumeration 2014-08-04 08:46:40 -04:00
Andrew J. Kroll f6244bbe59 bugfix 2014-05-24 00:31:26 -04:00
Andrew J. Kroll d56ed57495 Fix 1 month rollover bug -- Lei Shi found this one in one place, I found the problem all over the library and patched them all. 2014-05-22 23:36:33 -04:00
Andrew J. Kroll f1af9b08ec Janitorial, whitespace fixes. No new code. 2013-12-25 05:09:57 -05:00
Andrew J. Kroll 77efe42a71 Fix hidboot not allocating or checking properly on mouse.
Removal of duplicate code: Force all drivers to delay after setting address.
2013-12-18 22:02:51 -05:00
Andrew J. Kroll 5785115cdb Type fixes, new debug macro, debug bug fixes. 2013-12-18 15:18:28 -05:00
Andrew J. Kroll 95d133b919 Merge 2013-12-04 18:51:06 -05:00
Andrew J. Kroll e18eb57752 fix all warnings for ARM, fix a few small bugs 2013-12-04 18:40:23 -05:00
Kristian Lauszus a03df2519b Limit number of retries 2013-11-11 00:45:27 +01:00
Andrew J. Kroll 272180cf60 Merge branch 'xxxajk' of github.com:felis/USB_Host_Shield_2.0 into xxxajk 2013-10-08 14:25:32 -04:00
Andrew J. Kroll a21edc6698 Speed up core task 2013-10-08 14:25:23 -04:00
Kristian Sloth Lauszus 81ed31e1fe Check for hrJERR after ConfigureDevice too 2013-10-08 19:05:08 +02:00
Kristian Sloth Lauszus 3b733fc962 Better way to retry when hrJERR is returned 2013-10-08 18:27:51 +02:00
Kristian Sloth Lauszus 6adc0843d5 More elegant way of doing: 7990c32ad6 2013-10-08 18:14:16 +02:00
Kristian Sloth Lauszus 7990c32ad6 Don't call init if an error is returned 2013-10-08 18:07:36 +02:00
Kristian Sloth Lauszus 47ff8e55c5 Retry if device returns hrJERR 2013-10-07 00:41:49 +02:00
Andrew J. Kroll 226b4b6658 Unwedge failed device on failed attempt. 2013-09-29 18:22:37 -04:00
Andrew J. Kroll af2cf97b5e Fix headers 2013-09-23 16:08:31 -04:00
Oleg Mazurov 9e1ea2ac1b fixed Get Conf Descr and delay after SetAddr in hiduniversal 2013-09-10 16:10:34 -06:00
Oleg Mazurov eefb971656 Merge branch 'xxxajk' 2013-08-09 15:44:24 -06:00
Andrew J. Kroll b30c56a86e Control switch via GPX pin. 2013-08-08 20:21:05 -04:00
Kristian Sloth Lauszus c0fde76241 Make sure it doesn't try to init a driver twice 2013-07-16 18:36:07 +02:00
Kristian Sloth Lauszus 42a2261fe8 Check error code before breaking 2013-07-15 19:33:15 +02:00
Oleg Mazurov 3dea5b880f fixed low speed direct attach 2013-07-08 12:46:32 -06:00
Oleg Mazurov 1c5db85af6 fixed directly connected low-speed device func. 2013-06-18 18:49:57 -06:00
Andrew J. Kroll 5812e0f5c4 Fix NPE when devConfig[X] is NULL, remove unused variable from on-chip RAM 2013-06-18 14:43:37 -04:00
Andrew J. Kroll 53b7f82d94 Fix hub code, fix enumeration. 2013-06-18 01:24:28 -04:00
Andrew J. Kroll 080a8e256d add reset on hub port 2013-06-17 15:02:37 -04:00
Oleg Mazurov 205bb2829a added to configure proposal 2013-05-15 10:54:33 -06:00
Andrew J. Kroll 387a4ab5f4 make more clear on the flow proposal. 2013-05-14 16:11:32 -04:00
Andrew J. Kroll e81faeadd5 Add proposal, see line 566 Usb.cpp. Fix small bug in Usb.cpp 2013-05-14 11:41:12 -04:00
Andrew J. Kroll 1cc3036eac Now mass storage works. Evil plans may begin. 2013-05-13 20:54:12 -04:00
Andrew J. Kroll 1d771c1501 Support more quirks by slight plugin event change. 2013-04-20 14:06:48 -04:00
Andrew J. Kroll 904f2ff25a Clean up code formatting to industry standards. 2013-03-28 04:46:43 -04:00