Archived
1
0

Debug code for interconnect cable debugging

This commit is contained in:
Jacob Alexander 2016-02-20 13:27:49 -08:00
parent ab9d10f22b
commit 2abfedec22

View File

@ -1139,6 +1139,7 @@ void Connect_scan()
} }
// 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