You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Aquatic-Robotic-Courier/software/ARC-FW/util/serial.h

22 lines
321 B
C

#ifndef _SERIAL_H_
#define _SERIAL_H_
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
void arc_serial_init(void);
uint8_t arc_printf(const char* fmt, ...);
#ifdef DEBUG
#define printf(f_, ...) arc_printf((f_), ##__VA_ARGS__)
#else
#define printf(f_, ...) void(f_, ...)
#endif
#endif