mirror of
https://github.com/synthetos/g2.git
synced 2026-09-22 11:29:24 +08:00
Consolidated some power management functions; fixed a bug in status reports where SR_VERBOSE mode created filtered reports
This commit is contained in:
Executable → Regular
+2
-1
@@ -296,7 +296,8 @@ stat_t sr_status_report_callback() // called by controller dispatcher
|
||||
}
|
||||
|
||||
sr.status_report_request = SR_OFF;
|
||||
if (sr.status_report_request == SR_VERBOSE) {
|
||||
if ((sr.status_report_request == SR_VERBOSE) ||
|
||||
(sr.status_report_verbosity == SR_VERBOSE)) {
|
||||
_populate_unfiltered_status_report();
|
||||
} else {
|
||||
if (_populate_filtered_status_report() == false) { // no new data
|
||||
|
||||
Reference in New Issue
Block a user