Browse Source

im an airhead who should test her refactors

haskal/packaging
sys64738 7 months ago
parent
commit
2bac8cd99e
  1. 4
      bsp/rp2040/cdc_uart.c
  2. 1
      src/protos.h

4
bsp/rp2040/cdc_uart.c

@ -66,7 +66,7 @@ void cdc_uart_task(void) {
void cdc_uart_set_hwflow(bool enable) { uart_set_hw_flow(PINOUT_UART_INTERFACE, enable, enable); }
void cdc_uart_set_baud_rate(uint32_t brate) {
uart_init(PINOUT_UART_INTERFACE, line_coding->bit_rate);
void cdc_uart_set_baudrate(uint32_t brate) {
uart_init(PINOUT_UART_INTERFACE, brate);
}

1
src/protos.h

@ -4,6 +4,7 @@
#define PROTOS_H_
#include <stdbool.h>
#include <stdint.h>
#include "protocfg.h"

Loading…
Cancel
Save