diff options
author | Karl Palsson <karlp@tweak.net.au> | 2018-08-27 18:51:17 +0300 |
---|---|---|
committer | Karl Palsson <karlp@tweak.net.au> | 2018-08-27 18:51:17 +0300 |
commit | b7ec3f0b11dde95a02fd69e65baf8e36c2d71085 (patch) | |
tree | c19f8c13823fce90763a45f36f876f0a55892629 /tests | |
parent | 4b3dda296897294f723efff0234fcd49ecbf8ec8 (diff) |
tests: usb gadget0: ti: use dummy delay handlers
Not full test coverage, obviously, but at least let it compile until the
delay methods have been implemented.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gadget-zero/main-tilm4f120xl.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/gadget-zero/main-tilm4f120xl.c b/tests/gadget-zero/main-tilm4f120xl.c index 67abb6ae..7d9e78da 100644 --- a/tests/gadget-zero/main-tilm4f120xl.c +++ b/tests/gadget-zero/main-tilm4f120xl.c @@ -23,6 +23,7 @@ #include <libopencm3/lm4f/systemcontrol.h> #include <stdio.h> +#include "delay.h" #include "usb-gadget0.h" #define ER_DEBUG @@ -34,6 +35,15 @@ do { } while (0) #endif + +/* FIXME - implement delay functionality for better test coverage */ +void delay_setup(void) { +} + +void delay_us(uint16_t us) { + (void)us; +} + int main(void) { gpio_enable_ahb_aperture(); |