Diff between 42ffa662d6e72e5fb5ce31759728adf53f5f7cff and 7be84fe31653fbedd2869b1dd2595025c8245672

Changed Files

File Additions Deletions Status
mesh/onoff-model.c +2 -2 modified

Full Patch

diff --git a/mesh/onoff-model.c b/mesh/onoff-model.c
index e82dac4..676c14c 100644
--- a/mesh/onoff-model.c
+++ b/mesh/onoff-model.c
@@ -77,8 +77,8 @@ static void print_remaining_time(uint8_t remaining_time)
 	switch (step) {
 	case 0:
 		msecs = 100 * count;
-		secs = msecs / 60;
-		msecs -= (secs * 60);
+		secs = msecs / 1000;
+		msecs -= (secs * 1000);
 		break;
 	case 1:
 		secs = 1 * count;