Skip to content

Commit af328d7

Browse files
Merge fd2d615 into 15c5f17
2 parents 15c5f17 + fd2d615 commit af328d7

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

data/cmdvartab

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ CMDDESC test.failure.start "Start a simulated power failure"
251251
CMDDESC test.failure.stop "Stop simulating a power failure"
252252
CMDDESC test.battery.start "Start a battery test"
253253
CMDDESC test.battery.start.quick "Start a quick battery test"
254+
CMDDESC test.battery.start.low "Start a battery test until battery low"
254255
CMDDESC test.battery.start.deep "Start a deep battery test"
255256
CMDDESC test.battery.stop "Stop the battery test"
256257
CMDDESC test.system.start "Start a system test"

docs/nut-names.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,6 +1030,7 @@ Instant commands
10301030
| test.failure.stop | Stop simulating a power failure
10311031
| test.battery.start | Start a battery test
10321032
| test.battery.start.quick | Start a "quick" battery test
1033+
| test.battery.start.low | Start a battery test until battery low
10331034
| test.battery.start.deep | Start a "deep" battery test
10341035
| test.battery.stop | Stop the battery test
10351036
| test.system.start | Start a system test

drivers/nutdrv_qx_masterguard.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -858,6 +858,7 @@ static item_t masterguard_qx2nut[] = {
858858
/* test.failure.stop */
859859
{ "test.battery.start", 0, NULL, NULL, "", 0, '\0', "", 0, 0, NULL, QX_FLAG_CMD, NULL, NULL, masterguard_test_battery },
860860
{ "test.battery.start.quick", 0, NULL, "T\r", "", 0, '\0', "", 0, 0, NULL, QX_FLAG_CMD, NULL, NULL, NULL },
861+
{ "test.battery.start.low", 0, NULL, "TL\r", "", 0, '\0', "", 0, 0, NULL, QX_FLAG_CMD, NULL, NULL, NULL },
861862
{ "test.battery.start.deep", 0, NULL, "TUD\r", "", 0, '\0', "", 0, 0, NULL, QX_FLAG_CMD, NULL, NULL, NULL },
862863
{ "test.battery.stop", 0, NULL, "CT\r", "", 0, '\0', "", 0, 0, NULL, QX_FLAG_CMD, NULL, NULL, NULL },
863864
/* test.system.start */

0 commit comments

Comments
 (0)