Skip to content

Commit

Permalink
Merge branch 'dev' into unleashed
Browse files Browse the repository at this point in the history
  • Loading branch information
RogueMaster committed Jul 8, 2022
2 parents a426d00 + f46ae5a commit fd32501
Show file tree
Hide file tree
Showing 16 changed files with 1,550 additions and 1,529 deletions.
763 changes: 384 additions & 379 deletions applications/bt/bt_hid_app/views/bt_hid_keyboard.c

Large diffs are not rendered by default.

402 changes: 201 additions & 201 deletions applications/bt/bt_hid_app/views/bt_hid_keynote.c
100755 → 100644

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions applications/picopass/picopass_worker.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ ReturnCode picopass_read_card(ApplicationArea* AA1) {
}
memcpy(ccnr, rcRes.CCNR, sizeof(rcRes.CCNR)); // last 4 bytes left 0

diversifyKey(selRes.CSN, picopass_iclass_key, div_key);
opt_doReaderMAC(ccnr, div_key, mac);
loclass_diversifyKey(selRes.CSN, picopass_iclass_key, div_key);
loclass_opt_doReaderMAC(ccnr, div_key, mac);

err = rfalPicoPassPollerCheck(mac, &chkRes);
if(err != ERR_NONE) {
Expand Down
4 changes: 2 additions & 2 deletions firmware/targets/f7/ble_glue/hid_service.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ void hid_svc_start() {
if(status) {
FURI_LOG_E(TAG, "Failed to add report characteristic: %d", status);
}

desc_uuid.Char_UUID_16 = REPORT_REFERENCE_DESCRIPTOR_UUID;
status = aci_gatt_add_char_desc(
hid_svc->svc_handle,
Expand Down Expand Up @@ -249,7 +249,7 @@ void hid_svc_start() {
}
}

bool hid_svc_update_report_map(uint8_t* data, uint16_t len) {
bool hid_svc_update_report_map(const uint8_t* data, uint16_t len) {
furi_assert(data);
furi_assert(hid_svc);

Expand Down
2 changes: 1 addition & 1 deletion firmware/targets/f7/ble_glue/hid_service.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ void hid_svc_stop();

bool hid_svc_is_started();

bool hid_svc_update_report_map(uint8_t* data, uint16_t len);
bool hid_svc_update_report_map(const uint8_t* data, uint16_t len);

bool hid_svc_update_input_report(uint8_t input_report_num, uint8_t* data, uint16_t len);

Expand Down
Loading

0 comments on commit fd32501

Please sign in to comment.