Skip to content

Commit

Permalink
Add extra debug toggles
Browse files Browse the repository at this point in the history
  • Loading branch information
spiiroin committed Oct 28, 2013
1 parent 9b4efbc commit 8090d57
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/display.c
Expand Up @@ -130,6 +130,12 @@

#include "mce-sensorfw.h"

#if 0 // DEBUG: make all logging from this module "critical"
# undef mce_log
# define mce_log(LEV, FMT, ARGS...) \
mce_log_file(LL_CRIT, __FILE__, __FUNCTION__, FMT , ## ARGS)
#endif

/* These defines are taken from devicelock.h, but slightly modified */
#ifndef DEVICELOCK_H

Expand Down
6 changes: 6 additions & 0 deletions powerkey.c
Expand Up @@ -73,6 +73,12 @@
* remove_input_trigger_from_datapipe()
*/

#if 0 // DEBUG: make all logging from this module "critical"
# undef mce_log
# define mce_log(LEV, FMT, ARGS...) \
mce_log_file(LL_CRIT, __FILE__, __FUNCTION__, FMT , ## ARGS)
#endif

/**
* The ID of the timeout used when determining
* whether the key press was short or long
Expand Down

0 comments on commit 8090d57

Please sign in to comment.