kopia lustrzana https://github.com/solokeys/solo1
small fixes
rodzic
85ddc40036
commit
6cb15a6482
|
@ -40,5 +40,5 @@ libsolo.a: $(OBJ)
|
||||||
$(CC) $^ $(INT_CFLAGS) $(ECC_CFLAGS) -c -o $@
|
$(CC) $^ $(INT_CFLAGS) $(ECC_CFLAGS) -c -o $@
|
||||||
|
|
||||||
clean:
|
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
|
* aren't what you want to keep, but are designed to be replaced
|
||||||
* with some other platform specific implementation.
|
* with some other platform specific implementation.
|
||||||
*
|
*
|
||||||
|
* For real examples, see the STM32L4 implementation and the PC implementation of device.c.
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -175,8 +175,7 @@ int usbhid_recv(uint8_t * msg)
|
||||||
return l;
|
return l;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Send 64 byte USB HID message
|
void usbhid_send(uint8_t * msg)
|
||||||
static void _usbhid_send(uint8_t * msg)
|
|
||||||
{
|
{
|
||||||
if (use_udp)
|
if (use_udp)
|
||||||
{
|
{
|
||||||
|
@ -191,10 +190,6 @@ static void _usbhid_send(uint8_t * msg)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void usbhid_send(uint8_t * msg)
|
|
||||||
{
|
|
||||||
_usbhid_send(msg);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue