Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
text_out.h
Go to the documentation of this file.
1
5#ifndef BSP_TEXT_OUT_H
6#define BSP_TEXT_OUT_H
7
8#ifdef __cplusplus
9namespace lampda {
10namespace bsp {
11
12#define EXTERNC extern "C"
13#else
14#define EXTERNC
15#endif
16
21EXTERNC void lampda_print_init();
22
23EXTERNC void lampda_print(const char* format, ...) __attribute__((format(printf, 1, 2)));
24
26EXTERNC void lampda_print_raw(const char* format, ...) __attribute__((format(printf, 1, 2)));
28EXTERNC int lampda_print_ble_pending();
29
30#undef EXTERNC
31
32#ifdef __cplusplus
33} // namespace bsp
34} // namespace lampda
35#endif
36
37#endif
int lampda_print_ble_pending()
Number of text chunks still waiting to be sent on the bluetooth link (0 when no link is open)
Definition: text_out.cpp:328
void lampda_print(const char *format,...)
C linkage to print functions.
Definition: text_out.cpp:336
void lampda_print_init()
Definition: text_out.cpp:312
void lampda_print_raw(const char *format,...)
C linkage to print functions.
Definition: text_out.cpp:320
Program scope.
Definition: control_fixed_modes.hpp:14