| 86 | } |
| 87 | |
| 88 | ISensor* SensorDataProviderImpl::getSensor(uint8_t index) |
| 89 | { |
| 90 | ISensor* sensor = nullptr; |
| 91 | |
| 92 | if (m_cnt > index) |
| 93 | { |
| 94 | sensor = m_sensors[index]; |
| 95 | } |
| 96 | |
| 97 | return sensor; |
| 98 | } |
| 99 | |
| 100 | /****************************************************************************** |
| 101 | * Protected Methods |
no outgoing calls
no test coverage detected