* Margin is 1/2 of unit. */
| 281 | * Margin is 1/2 of unit. |
| 282 | */ |
| 283 | uint8_t IRrecv::getNumberOfUnitsInInterval(uint16_t aCurrentInterval, uint16_t aTimeUnit) { |
| 284 | return (aCurrentInterval + (aTimeUnit / 2)) / aTimeUnit; |
| 285 | } |
| 286 | |
| 287 | /** |
| 288 | * Gets the level of one time interval (aBiphaseTimeUnit) at a time from the raw buffer. |
nothing calls this directly
no outgoing calls
no test coverage detected