Merge pull request #29 from hzyitc/main

This commit is contained in:
Frederic BOLTZ 2022-03-06 17:41:50 +01:00 committed by GitHub
commit 77aa637228
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -23,6 +23,12 @@ Clone this repository and go to source directory, just run make install. During
make install make install
``` ```
If you need debug messages, please set `EXTRA_CFLAGS=-DDEBUG`
```shell
make install EXTRA_CFLAGS=-DDEBUG
```
## Deb package ## Deb package
1. Prerequisites 1. Prerequisites

View file

@ -19,7 +19,7 @@
* Notes: * Notes:
* (1) Total number of voltage and 9 displayed. * (1) Total number of voltage and 9 displayed.
*/ */
#define DEBUG 1 // #define DEBUG 1
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/acpi.h> #include <linux/acpi.h>