diff options
-rw-r--r-- | powerdebug.c | 7 | ||||
-rw-r--r-- | powerdebug.h | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/powerdebug.c b/powerdebug.c index 197f255..e12d917 100644 --- a/powerdebug.c +++ b/powerdebug.c @@ -23,9 +23,10 @@ int selectedwindow = -1; double ticktime = 10.0; /* in seconds */ char *win_names[TOTAL_FEATURE_WINS] = { - "Regulators", "Clocks", - "Sensors" }; + "Regulators", + "Sensors" +}; void usage(void) { @@ -156,7 +157,7 @@ int main(int argc, char **argv) } if (!dump && selectedwindow == -1) - selectedwindow = REGULATOR; + selectedwindow = CLOCK; init_regulator_ds(); diff --git a/powerdebug.h b/powerdebug.h index f351ff2..ea1ad29 100644 --- a/powerdebug.h +++ b/powerdebug.h @@ -26,7 +26,7 @@ #define VERSION "1.0" #define TOTAL_FEATURE_WINS 3 /* Regulator, Clock and Sensor (for now) */ -enum {REGULATOR, CLOCK, SENSOR}; +enum {CLOCK, REGULATOR, SENSOR}; enum {CLOCK_SELECTED = 1, REFRESH_WINDOW}; extern struct regulator_info *regulators_info; |