Age | Commit message (Collapse) | Author | Files | Lines |
|
+ added logging output of data that is going to be sent.
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|
|
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|
|
it was always 0 - control transfer...
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|
|
packet_size_max0 was set only if it was 8. It was not working for 16 or 32.
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|
|
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|
|
* fixed typo/bug: "hub->state += 2" must have been
"hub->state = 2" to issue empty read
Now, after each SET_ or CLEAR_ command, empty read is issued.
+ removed forward declaration of event() - cleaning
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|
|
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|
|
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|
|
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|
|
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|
|
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|
|
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|
|
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|
|
TIM6 has clock running at 84MHz instead of 168MHz,
so set the prescaler accordingly.
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|
|
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|
|
forward declarations are not needed
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|
|
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|
|
This way, we don't need forward declarations
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|
|
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|
|
this was causing infinite loop, when size of the
data was not multiple of 4.
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|
|
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|
|
fixing after enum STATES refactor.
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|
|
Overflows in 6.5536 seconds
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|
|
added comment to usbh_hubbed.h
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|
|
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|
|
Instead of 2 argument call, use function with one argument.
It is more clear, and safer for inexperienced users with libopencm3.
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|
|
First public version, date: 1.4.2015
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
|