1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-05-03 23:49:02 +00:00
trezor-firmware/core/embed/upymod/modtrezorio
Roman Zeyde fabb5e8c6c perf(core): don't allocate if BLE event data is empty
BLE event data is not empty only on pairing:
```
core/embed/io/ble/stm32/ble.c
176:      ble_event_t event = {.type = BLE_CONNECTED};
182:      ble_event_t event = {.type = BLE_DISCONNECTED};
227:  ble_event_t event = {.type = BLE_PAIRING_REQUEST, .data_len = 6};
244:  ble_event_t event = {.type = BLE_PAIRING_CANCELLED, .data_len = 0};
```

[no changelog]
2025-03-20 15:22:32 +02:00
..
diskio.h refactor(core): restructure embed folder 2024-11-18 09:41:02 +01:00
ff_unifdef.sh refactor(core): restructure embed folder 2024-11-18 09:41:02 +01:00
ff.c refactor(core): restructure embed folder 2024-11-18 09:41:02 +01:00
ff.h refactor(core): restructure embed folder 2024-11-18 09:41:02 +01:00
ffconf.h refactor(core): restructure embed folder 2024-11-18 09:41:02 +01:00
ffunicode.c refactor(core): restructure embed folder 2024-11-18 09:41:02 +01:00
modtrezorio-ble.h feat(core/prodtest): add BLE testing 2025-02-26 10:27:14 +01:00
modtrezorio-fatfs.h refactor(core): restructure embed folder 2024-11-18 09:41:02 +01:00
modtrezorio-haptic.h refactor(core): restructure embed folder 2024-11-18 09:41:02 +01:00
modtrezorio-hid.h feat(core): adjust codec_v1 to work with differently sized RX and TX packets 2025-01-23 16:46:12 +01:00
modtrezorio-poll.h perf(core): don't allocate if BLE event data is empty 2025-03-20 15:22:32 +02:00
modtrezorio-sdcard.h refactor(core): restructure embed folder 2024-11-18 09:41:02 +01:00
modtrezorio-usb.h refactor(core): restructure embed folder 2024-11-18 09:41:02 +01:00
modtrezorio-vcp.h refactor(core): restructure embed folder 2024-11-18 09:41:02 +01:00
modtrezorio-webusb.h feat(core): adjust codec_v1 to work with differently sized RX and TX packets 2025-01-23 16:46:12 +01:00
modtrezorio.c refactor(core): refactor button events 2025-03-20 11:07:34 +01:00