* Start ticker cycle * @param cycle Cycle time in [ms] * @param duty Duty cycle in [ms] */
| 28 | * @param duty Duty cycle in [ms] |
| 29 | */ |
| 30 | void AutoConnectTicker::start(const uint32_t cycle, const uint32_t duty) { |
| 31 | _cycle = cycle; |
| 32 | if (duty <= _cycle) |
| 33 | _duty = duty; |
| 34 | start(); |
| 35 | } |
| 36 | |
| 37 | /** |
| 38 | * Start ticker cycle |
no test coverage detected