Wirepas SDK
uart_print.h
Go to the documentation of this file.
1
/* Copyright 2019 Wirepas Ltd. All Rights Reserved.
2
*
3
* See file LICENSE.txt for full license details.
4
*
5
*/
6
7
8
#ifndef UART_PRINT_H_
9
#define UART_PRINT_H_
10
#include <stdarg.h>
11
12
#ifdef APP_PRINTING
13
20
void
UartPrint_init
(uint32_t baudrate);
21
30
int
UartPrint_printf
(
const
char
* fmt, ...);
31
32
#else
33
#define UartPrint_init(baudrate)
34
#define UartPrint_printf(fmt, ...)
35
#endif
36
37
#endif
/* UART_PRINT_H_ */
UartPrint_init
#define UartPrint_init(baudrate)
Definition:
uart_print.h:33
UartPrint_printf
#define UartPrint_printf(fmt,...)
Definition:
uart_print.h:34