small fixes
This commit is contained in:
parent
d80369f19e
commit
a70e5cb112
@ -40,5 +40,5 @@ libsolo.a: $(OBJ)
|
||||
$(CC) $^ $(INT_CFLAGS) $(ECC_CFLAGS) -c -o $@
|
||||
|
||||
clean:
|
||||
rm $(OBJ) libsolo.a
|
||||
rm -f $(OBJ) libsolo.a
|
||||
|
||||
|
@ -12,6 +12,8 @@
|
||||
* aren't what you want to keep, but are designed to be replaced
|
||||
* with some other platform specific implementation.
|
||||
*
|
||||
* For real examples, see the STM32L4 implementation and the PC implementation of device.c.
|
||||
*
|
||||
*/
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -175,8 +175,7 @@ int usbhid_recv(uint8_t * msg)
|
||||
return l;
|
||||
}
|
||||
|
||||
// Send 64 byte USB HID message
|
||||
static void _usbhid_send(uint8_t * msg)
|
||||
void usbhid_send(uint8_t * msg)
|
||||
{
|
||||
if (use_udp)
|
||||
{
|
||||
@ -191,10 +190,6 @@ static void _usbhid_send(uint8_t * msg)
|
||||
}
|
||||
}
|
||||
}
|
||||
void usbhid_send(uint8_t * msg)
|
||||
{
|
||||
_usbhid_send(msg);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user