application: minor, remove debug output
This commit is contained in:
parent
a7a2302376
commit
43046dee48
|
@ -826,18 +826,15 @@ void main(void)
|
|||
time_start = rtc_get_counter_val(); // get start time from internal RTC
|
||||
|
||||
// setup LCD display
|
||||
printf("setup LCD: ");
|
||||
led_on(); // this actually power the I²C backpack and display
|
||||
lcd_hd44780_i2c_addr = 0x3f;
|
||||
if (lcd_hd44780_setup(true, false)) {
|
||||
lcd_hd44780_display_control(true, false, true);
|
||||
lcd_hd44780_write_line(false, "USB cable tester", 16);
|
||||
lcd_hd44780_write_line(true, "testing ...", 11);
|
||||
printf("OK");
|
||||
} else {
|
||||
printf("KO");
|
||||
printf("could not start LCD\n");
|
||||
}
|
||||
putc('\n');
|
||||
|
||||
// setup USB connectors
|
||||
gpio_primary_remap(AFIO_MAPR_SWJ_CFG_JTAG_OFF_SW_ON, 0); // only use SWD and reuse JTAG pins
|
||||
|
|
Loading…
Reference in New Issue