mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-12 16:38:36 -07:00
Api Symbols: replace asserts with checks
merge ofw commit
This commit is contained in:
@@ -101,7 +101,7 @@ static bool gpio_usb_uart_input_callback(InputEvent* event, void* context) {
|
||||
return consumed;
|
||||
}
|
||||
|
||||
GpioUsbUart* gpio_usb_uart_alloc() {
|
||||
GpioUsbUart* gpio_usb_uart_alloc(void) {
|
||||
GpioUsbUart* usb_uart = malloc(sizeof(GpioUsbUart));
|
||||
|
||||
usb_uart->view = view_alloc();
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
typedef struct GpioUsbUart GpioUsbUart;
|
||||
typedef void (*GpioUsbUartCallback)(GpioCustomEvent event, void* context);
|
||||
|
||||
GpioUsbUart* gpio_usb_uart_alloc();
|
||||
GpioUsbUart* gpio_usb_uart_alloc(void);
|
||||
|
||||
void gpio_usb_uart_free(GpioUsbUart* usb_uart);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user