libtriple: improve lt_debug

* add current instance
* shorten lt_debug messages
This commit is contained in:
Stefan Seyfried
2011-10-02 21:48:41 +02:00
parent eff9a153df
commit dc5a44a365
9 changed files with 29 additions and 27 deletions

View File

@@ -37,8 +37,8 @@
#include <hardware/tddevices.h>
#define VIDEO_DEVICE "/dev/" DEVICE_NAME_VIDEO
#include "lt_debug.h"
#define lt_debug(args...) _lt_debug(TRIPLE_DEBUG_VIDEO, args)
#define lt_info(args...) _lt_info(TRIPLE_DEBUG_VIDEO, args)
#define lt_debug(args...) _lt_debug(TRIPLE_DEBUG_VIDEO, this, args)
#define lt_info(args...) _lt_info(TRIPLE_DEBUG_VIDEO, this, args)
#define fop(cmd, args...) ({ \
int _r; \