25 #include <avr/pgmspace.h> 30 #define QUOTEME_(x) #x 32 #define QUOTEME(x) QUOTEME_(x) 35 #define MAX_LINE_LENGHT 80 40 #define MAX_STRING_LENGHT 80 43 #define PRINT_VALUE_X_LINE 16
void debug_setup_address(struct htv_t *htv, struct debug_t *debug)
input and store the address of the unit in EEPROM.
Definition: debug.c:167
char * string
Definition: debug.h:56
struct debug_t * debug_init(void)
initialize debug struct and uart console
Definition: debug.c:85
char * line
Definition: debug.h:54
void debug_print_address(struct htv_t *htv, struct debug_t *debug)
print the RX address in use.
Definition: debug.c:156
Main struct of the project and eventually defaults.
void debug_print_P(PGM_P string, struct debug_t *debug)
Definition: debug.c:33
uint8_t debug_wait_for_y(struct debug_t *debug)
press 'y' or 'n'
Definition: debug.c:61
void debug_free(struct debug_t *debug)
free the memory
Definition: debug.c:112
void debug_print(struct debug_t *debug)
Definition: debug.c:42
void debug_print_htv(struct htv_t *htv, struct debug_t *debug)
print the struct htv contents.
Definition: debug.c:127
uint8_t active
Definition: debug.h:58