Ignore:
Timestamp:
Apr 5, 2019, 9:26:53 PM (5 years ago)
Author:
coas-nagasima
Message:

mbed関連を更新
シリアルドライバをmbedのHALを使うよう変更
ファイルディスクリプタの処理を更新

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asp3_tinet_ecnl_arm/trunk/btstack/src/hci_dump.c

    r352 r374  
    194194
    195195        case HCI_DUMP_BLUEZ:
    196             bt_store_16( (uint8_t *) &header_bluez.len, 0, 1 + len);
     196            little_endian_store_16( (uint8_t *) &header_bluez.len, 0, 1 + len);
    197197            header_bluez.in  = in;
    198198            header_bluez.pad = 0;
    199             bt_store_32( (uint8_t *) &header_bluez.ts_sec,  0, curr_time.tv_sec);
    200             bt_store_32( (uint8_t *) &header_bluez.ts_usec, 0, curr_time.tv_usec);
     199            little_endian_store_32( (uint8_t *) &header_bluez.ts_sec,  0, curr_time.tv_sec);
     200            little_endian_store_32( (uint8_t *) &header_bluez.ts_usec, 0, curr_time.tv_usec);
    201201            header_bluez.packet_type = packet_type;
    202202            write (dump_file, &header_bluez, sizeof(hcidump_hdr) );
Note: See TracChangeset for help on using the changeset viewer.