Merged debug level commits from Tridge

This commit is contained in:
Andrew Tridgell
2013-02-14 23:06:52 +01:00
committed by Lorenz Meier
parent bfecfbf5ee
commit 6eb69b07a8
3 changed files with 65 additions and 12 deletions
+9
View File
@@ -176,3 +176,12 @@ extern int dsm_init(const char *device);
extern bool dsm_input(uint16_t *values, uint16_t *num_values);
extern int sbus_init(const char *device);
extern bool sbus_input(uint16_t *values, uint16_t *num_values);
/* global debug level for isr_debug() */
extern volatile uint8_t debug_level;
/* send a debug message to the console */
extern void isr_debug(uint8_t level, const char *fmt, ...);
void i2c_dump(void);
void i2c_reset(void);