Small fix

This commit is contained in:
Inamr 2024-03-06 15:54:01 +01:00
parent 5be15a53f9
commit d2a74fb024

View File

@ -32,7 +32,6 @@ void USART3_init(void)
PORTB.DIRCLR &= ~PIN1_bm;
PORTB.DIRSET |= PIN0_bm;
PORTB.DIRCLR = PIN2_bm;
PORTB.PIN2CTRL |= PORT_PULLUPEN_bm;
USART3.CTRLB |= USART_RXEN_bm | USART_TXEN_bm; /* Enable both TX and
RX */
}
@ -110,9 +109,3 @@ int main(void)
}
}
/*char out_str[30] = {0};
float flt_num = adcVal;
sprintf(out_str, "flt_num = %f\r\n", flt_num);
UartTxStr(out_str); */
}