uint16_t usart2_send(uint8_t *buffer, uint16_t length) { printf("%s11\n", __func__); uint16_t tx_index; for(tx_index = 0; tx_index < length; tx_index++) { usart2_putchar(buffer[tx_index]); } printf("%s12\n", __func__); return tx_index; }
/** * @brief * @param None * @retval None */ void cr_ret_ln_fd(void) { usart2_putchar('\r'); /* if not finished then do some more */ usart2_putchar('\n'); }