repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
1d3ca3d
)
cec: make CEC_LOG levels powers of 2
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Thu, 27 Oct 2011 22:04:30 +0000
(
00:04
+0200)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Thu, 27 Oct 2011 22:06:48 +0000
(
00:06
+0200)
include/cectypes.h
patch
|
blob
|
blame
|
history
diff --git
a/include/cectypes.h
b/include/cectypes.h
index 4c029e87ccb9c18ffef1972a056f470542d58e3f..4396755d075587d313938d7ad5898ddb8f64b020 100644
(file)
--- a/
include/cectypes.h
+++ b/
include/cectypes.h
@@
-529,11
+529,12
@@
typedef enum cec_opcode
typedef enum cec_log_level
{
typedef enum cec_log_level
{
- CEC_LOG_DEBUG = 0,
- CEC_LOG_TRAFFIC,
- CEC_LOG_NOTICE,
- CEC_LOG_WARNING,
- CEC_LOG_ERROR
+ CEC_LOG_ERROR = 1,
+ CEC_LOG_WARNING = 2,
+ CEC_LOG_NOTICE = 4,
+ CEC_LOG_TRAFFIC = 8,
+ CEC_LOG_DEBUG = 16,
+ CEC_LOG_ALL = 31
} cec_log_level;
typedef struct cec_log_message
} cec_log_level;
typedef struct cec_log_message
@@
-706,7
+707,7
@@
typedef enum cec_vendor_id
#define MSGEND 0xFE
#define MSGESC 0xFD
#define ESCOFFSET 3
#define MSGEND 0xFE
#define MSGESC 0xFD
#define ESCOFFSET 3
-#define CEC_MIN_VERSION
6
+#define CEC_MIN_VERSION
8
#define CEC_LIB_VERSION 8
#define CEC_BUTTON_TIMEOUT 500
#define CEC_LIB_VERSION 8
#define CEC_BUTTON_TIMEOUT 500