|
@@ -257,9 +257,9 @@ static void cmd_clear_flags(BaseSequentialStream *chp, int argc, char *argv[])
|
257
|
257
|
}
|
258
|
258
|
|
259
|
259
|
/* Clear all flags that can be toggled with toggle_* commands */
|
260
|
|
- tmpcfg.flags &= ~PDBS_CONFIG_FLAGS_GIVEBACK
|
261
|
|
- & ~PDBS_CONFIG_FLAGS_VAR_BAT
|
262
|
|
- & PDBS_CONFIG_FLAGS_HV_PREFERRED;
|
|
260
|
+ tmpcfg.flags &= ~(PDBS_CONFIG_FLAGS_GIVEBACK
|
|
261
|
+ | PDBS_CONFIG_FLAGS_VAR_BAT
|
|
262
|
+ | PDBS_CONFIG_FLAGS_HV_PREFERRED);
|
263
|
263
|
}
|
264
|
264
|
|
265
|
265
|
static void cmd_toggle_giveback(BaseSequentialStream *chp, int argc, char *argv[])
|