Ignore:
Timestamp:
May 22, 2019, 4:09:18 PM (5 years ago)
Author:
coas-nagasima
Message:

ファイルディスクリプタ処理を更新

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asp3_tinet_ecnl_rx/trunk/asp3_dcre/target/gr_sakura_gcc/target_timer.c

    r364 r387  
    403403
    404404        time = (((HRTCNT)local_eut * CMCOR_PERIOD) + (HRTCNT)local_cnt) / USEC_CONVERT_VALUE;
    405 
     405#ifdef _MSC_VER
     406        // シミュレーションではタイマーが戻らないよう調整
     407        if (time < current_hrtcnt)
     408                time = current_hrtcnt + ((HRTCNT)local_cnt / USEC_CONVERT_VALUE);
     409#endif
    406410        return time;
    407411}
Note: See TracChangeset for help on using the changeset viewer.