ardupilot/libraries/AP_HAL_Empty/Util.h

19 lines
603 B
C
Raw Normal View History

2012-12-18 21:12:41 -04:00
#ifndef __AP_HAL_EMPTY_UTIL_H__
#define __AP_HAL_EMPTY_UTIL_H__
#include <AP_HAL.h>
#include "AP_HAL_Empty_Namespace.h"
class Empty::EmptyUtil : public AP_HAL::Util {
public:
int snprintf(char* str, size_t size, const char *format, ...);
int snprintf_P(char* str, size_t size, const prog_char_t *format, ...);
int vsnprintf(char* str, size_t size, const char *format, va_list ap);
int vsnprintf_P(char* str, size_t size, const prog_char_t *format,
va_list ap);
bool run_debug_shell(AP_HAL::BetterStream *stream) { return false; }
2012-12-18 21:12:41 -04:00
};
#endif // __AP_HAL_EMPTY_UTIL_H__