ソースを参照

Debug code for interconnect cable debugging

ICPad
Jacob Alexander 8年前
コミット
2abfedec22
1個のファイルの変更1行の追加0行の削除
  1. 1
    0
      Scan/UARTConnect/connect_scan.c

+ 1
- 0
Scan/UARTConnect/connect_scan.c ファイルの表示

} }


// Limit how often we do cable checks // Limit how often we do cable checks
//uint32_t time_compare = 0x007; // Used for debugging cables -HaaTa
uint32_t time_compare = 0x7FF; // Must be all 1's, 0x3FF is valid, 0x4FF is not uint32_t time_compare = 0x7FF; // Must be all 1's, 0x3FF is valid, 0x4FF is not
uint32_t current_time = systick_millis_count; uint32_t current_time = systick_millis_count;
if ( Connect_lastCheck != current_time if ( Connect_lastCheck != current_time