Skip to content

Commit 106565a

Browse files
committed
Demo purpose
1 parent 60b3537 commit 106565a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

config/os_version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.4.100
1+
1.4.101

libs/RobotKit/include/RobotController.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class RobotController : public interface::RobotController
8383

8484
_behaviorkit.launching();
8585
_lcd.turnOn();
86-
rtos::ThisThread::sleep_for(3s);
86+
rtos::ThisThread::sleep_for(10s);
8787
}
8888

8989
void startSleepTimeout() final
@@ -171,8 +171,10 @@ class RobotController : public interface::RobotController
171171
_behaviorkit.chargingMedium();
172172
} else if (level < 90) {
173173
_behaviorkit.chargingHigh();
174-
} else {
174+
} else if (level == 101) {
175175
_behaviorkit.chargingFull();
176+
} else {
177+
_behaviorkit.chargingHigh();
176178
}
177179
}
178180

0 commit comments

Comments
 (0)