mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-20 18:40:31 +00:00
hci_dunp_windows_fs: fix timestamps
This commit is contained in:
parent
e4cf526a15
commit
35d4a926ea
@ -25,7 +25,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
- AVRCP: reject incoming second l2cap connection
|
||||
- GATT Client: ignore notifications/indications until re-encrypted for bonded device without ENABLE_LE_PROACTIVE_AUTHENTICATION
|
||||
- btstack_flash_bank: support alignment larger than 4
|
||||
|
||||
- windows: fix timestamps in packet logs
|
||||
-
|
||||
### Changed
|
||||
- btstack_crypto: allow MBEDTLS config via MBEDTLS_CONFIG_FILE
|
||||
- remove old Zephyr 1.9 port
|
||||
|
@ -114,8 +114,8 @@ static void hci_dump_windows_fs_log_packet(uint8_t packet_type, uint8_t in, uint
|
||||
now_time.LowPart = file_time.dwLowDateTime;
|
||||
now_time.HighPart = file_time.dwHighDateTime;
|
||||
|
||||
tv_sec = (uint32_t) ((now_time.QuadPart / 10000) - EPOCH_DIFF);
|
||||
tv_us = (now_time.QuadPart % 10000) / 10;
|
||||
tv_sec = (uint32_t) ((now_time.QuadPart / 10000000ULL) - EPOCH_DIFF);
|
||||
tv_us = (now_time.QuadPart % 10000000ULL) / 10ULL;
|
||||
|
||||
uint16_t header_len = 0;
|
||||
switch (dump_format){
|
||||
|
Loading…
x
Reference in New Issue
Block a user