mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-05-28 09:01:24 +02:00
Added capability to add multiple interfaces: HID and CCID at compile time.
Depending on compiling flags, HID and/or CCID may be enabled independently and run simultaneously. Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -22,17 +22,10 @@
|
||||
#include "pico/unique_id.h"
|
||||
#include <string.h>
|
||||
|
||||
|
||||
extern int driver_init();
|
||||
extern void driver_task();
|
||||
extern bool wait_button();
|
||||
|
||||
extern void low_flash_init_core1();
|
||||
|
||||
extern int driver_write(const uint8_t *, size_t);
|
||||
extern size_t driver_read(uint8_t *, size_t);
|
||||
extern size_t usb_rx(const uint8_t *buffer, size_t len);
|
||||
|
||||
static inline const uint16_t make_uint16_t(uint8_t b1, uint8_t b2) {
|
||||
return (b1 << 8) | b2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user