1
0
forked from me/IronOS

Drop timer support as not used

This commit is contained in:
Ben V. Brown
2020-07-28 21:26:05 +10:00
parent 0b2311e001
commit add65ead9c
3 changed files with 3 additions and 12 deletions

View File

@@ -185,7 +185,7 @@ void fusb_setup() {
/* Measure CC1 */
fusb_write_byte( FUSB_SWITCHES0, 0x07);
resetWatchdog();
osDelay(1);
osDelay(10);
resetWatchdog();
uint8_t cc1 = fusb_read_byte( FUSB_STATUS0) & FUSB_STATUS0_BC_LVL;
resetWatchdog();
@@ -194,7 +194,7 @@ void fusb_setup() {
resetWatchdog();
fusb_write_byte( FUSB_SWITCHES0, 0x0B);
resetWatchdog();
osDelay(1);
osDelay(10);
resetWatchdog();
uint8_t cc2 = fusb_read_byte( FUSB_STATUS0) & FUSB_STATUS0_BC_LVL;