mirror of
https://github.com/polhenarejos/pico-fido
synced 2026-06-04 11:59:06 +02:00
Mark submodules as system includes.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -148,7 +148,10 @@ if(NOT ESP_PLATFORM)
|
|||||||
)
|
)
|
||||||
target_compile_options(pico_fido PRIVATE ${COMMON_COMPILE_OPTIONS})
|
target_compile_options(pico_fido PRIVATE ${COMMON_COMPILE_OPTIONS})
|
||||||
|
|
||||||
pico_keys_apply_strict_flags(SOURCES ${SOURCES})
|
pico_keys_apply_strict_flags(
|
||||||
|
SOURCES ${SOURCES}
|
||||||
|
FILTER_REGEX "/src/fido/|/pico-keys-sdk/src/|/pico-keys-sdk/config/"
|
||||||
|
)
|
||||||
|
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
string(FIND ${CMAKE_C_COMPILER} ":" COMPILER_COLON)
|
string(FIND ${CMAKE_C_COMPILER} ":" COMPILER_COLON)
|
||||||
|
|||||||
Submodule pico-keys-sdk updated: e5079e510f...94ab2ccef7
@@ -642,6 +642,7 @@ static int otp_send_frame(uint8_t *frame, size_t frame_len) {
|
|||||||
static int otp_hid_set_report_cb(uint8_t itf, uint8_t report_id, hid_report_type_t report_type, uint8_t const *buffer, uint16_t bufsize) {
|
static int otp_hid_set_report_cb(uint8_t itf, uint8_t report_id, hid_report_type_t report_type, uint8_t const *buffer, uint16_t bufsize) {
|
||||||
(void)itf;
|
(void)itf;
|
||||||
(void)report_id;
|
(void)report_id;
|
||||||
|
(void)bufsize;
|
||||||
if (report_type == 3) {
|
if (report_type == 3) {
|
||||||
DEBUG_PAYLOAD(buffer, bufsize);
|
DEBUG_PAYLOAD(buffer, bufsize);
|
||||||
if (buffer[7] == 0xFF) { // reset
|
if (buffer[7] == 0xFF) { // reset
|
||||||
|
|||||||
Reference in New Issue
Block a user