@@ -174,17 +174,14 @@ class drvBase {
174174 @brief Gets a ptr to an array containing the sensor types, as strings.
175175 @returns Pointer to an array of strings.
176176 */
177- /* ******************************************************************************/
178177 const char **GetSensorTypeStrings () { return _sensor_type_strings; }
179178
180- /* ******************************************************************************/
181179 /* !
182180 @brief Configures a driver with the default SensorType(s) for the
183181 device.
184- /****************************************************************************** */
182+ */
185183 virtual void ConfigureDefaultSensorTypes () { return ; }
186184
187- /* ******************************************************************************/
188185 /* !
189186 @brief Gets the number of enabled sensors.
190187 @returns The number of enabled sensors.
@@ -229,12 +226,14 @@ class drvBase {
229226 @brief Gets the sensor's types
230227 @returns A pointer to an array of SensorTypes.
231228 */
232- /* ******************************************************************************/
233229 wippersnapper_sensor_SensorType *GetSensorTypes () { return _sensors; }
234230
231+ /* !
232+ @brief Gets the number of sensor types.
233+ @returns The number of sensor types.
234+ */
235235 size_t GetNumSensorTypes () { return _sensors_count; }
236236
237- /* ******************************************************************************/
238237 /* !
239238 @brief Gets the sensor's previous period.
240239 @returns The sensor's previous period, in milliseconds.
0 commit comments