Skip to content

Commit

Permalink
reset of includes
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Stadie committed Feb 11, 2024
1 parent d731b0f commit 6e8ad55
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 16 deletions.
11 changes: 11 additions & 0 deletions lib/uart/usb_uart_bridge.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
#include "usb_uart_bridge.h"
#include "usb_cdc.h"
#include <cli/cli_vcp.h>
#include <cli/cli.h>
#include <toolbox/api_lock.h>
#include <furi_hal.h>
#include <furi_hal_usb_cdc.h>
#include "yuricable_pro_max_asciiart.h"

//TODO: FL-3276 port to new USART API
#include <stm32wbxx_ll_lpuart.h>
#include <stm32wbxx_ll_usart.h>

#define USB_CDC_PKT_LEN CDC_DATA_SZ
#define USB_UART_RX_BUF_SIZE (USB_CDC_PKT_LEN * 5)
Expand Down
17 changes: 1 addition & 16 deletions lib/uart/usb_uart_bridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,6 @@
#include <stddef.h>
#include <stdbool.h>
#include <log_saver.h>
#include "usb_cdc.h"
#include <cli/cli_vcp.h>
#include <cli/cli.h>
#include <toolbox/api_lock.h>
#include <furi_hal.h>
#include <furi_hal_uart.h>
#include <furi_hal_usb_cdc.h>
#include "yuricable_pro_max_asciiart.h"

//TODO: FL-3276 port to new USART API
#include <stm32wbxx_ll_lpuart.h>
#include <stm32wbxx_ll_usart.h>

#define COMMAND_LENGTH 16

Expand Down Expand Up @@ -44,10 +32,7 @@ void usb_uart_disable(UsbUartBridge* usb_uart);

void usb_uart_set_config(UsbUartBridge* usb_uart, UsbUartConfig* cfg);

void usb_uart_set_command_callback(
UsbUartBridge* usb_uart,
UsbUartBridgeCommand callback,
void* context);
void usb_uart_set_command_callback(UsbUartBridge* usb_uart, UsbUartBridgeCommand callback, void* context);

void usb_uart_get_config(UsbUartBridge* usb_uart, UsbUartConfig* cfg);

Expand Down

0 comments on commit 6e8ad55

Please sign in to comment.