Map27
 All Classes Functions Variables Enumerations Enumerator Pages
Log.h
1 // Log.h
2 //
3 // Author: Mike McCauley (mikem@airspayce.com)
4 // Copyright (C) 2013 Mike McCauley
5 // $Id: Log.h,v 1.3 2013/07/09 23:35:55 mikem Exp $
6 
7 #ifndef MAP27_LOG_H
8 #define MAP27_LOG_H
9 
10 #include <stdint.h>
11 
12 #ifdef DEBUG
13 #include <stdio.h>
14 #define DEBUG_PRINTF printf
15 #define DEBUG_DUMP debug_dump
16 #else
17 #define DEBUG_PRINTF(...)
18 #define DEBUG_DUMP(...)
19 #endif
20 
21 extern void debug_dump(const char* s, uint8_t* buf, uint16_t bufLen);
22 
23 #endif