| Index: tools/battor_agent/battor_agent.cc
|
| diff --git a/tools/battor_agent/battor_agent.cc b/tools/battor_agent/battor_agent.cc
|
| index b36192ac84b5abba6e80dd5d3e98b2765f2e7506..4c06fbcc4d716fa4e416229b57fb36b6a24f75e2 100644
|
| --- a/tools/battor_agent/battor_agent.cc
|
| +++ b/tools/battor_agent/battor_agent.cc
|
| @@ -170,6 +170,11 @@ void BattOrAgent::OnBytesSent(bool success) {
|
|
|
| switch (last_action_) {
|
| case Action::SEND_RESET:
|
| + // TODO(charliea): Ideally, we'd just like to send an init, and the BattOr
|
| + // firmware can handle whether a reset is necessary or not, sending an
|
| + // init ack regardless. This reset can be removed once this is true.
|
| + // https://github.com/aschulm/battor/issues/30 tracks this.
|
| +
|
| // Wait for the reset to happen before sending the init message.
|
| PerformDelayedAction(Action::SEND_INIT, base::TimeDelta::FromSeconds(
|
| kBattOrResetTimeSeconds));
|
|
|