We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4dcaa8 commit 6a1aa54Copy full SHA for 6a1aa54
2 files changed
src/core/libectool.cc
@@ -30,6 +30,7 @@
30
#define GEC_LOCK_TIMEOUT_SECS 30 /* 30 secs */
31
#define interfaces COMM_ALL
32
33
+int ascii_mode;
34
// -----------------------------------------------------------------------------
35
// Helper functions
36
src/core/libectool.h
@@ -1,6 +1,8 @@
1
#ifndef LIBECTOOL_H
2
#define LIBECTOOL_H
3
4
+#include <stdbool.h>
5
+
6
#ifdef __cplusplus
7
extern "C" {
8
#endif
@@ -16,6 +18,9 @@ void set_fan_speed(int speed);
16
18
float get_max_temperature();
17
19
float get_max_non_battery_temperature();
20
21
+/* ASCII mode for printing, default off */
22
+extern int ascii_mode;
23
24
25
}
26
0 commit comments