Files
T2-start-2025/C/C1/bike_math.h
Rens Pastoor 11b391b8a1 sync
2025-05-27 22:41:46 +02:00

19 lines
470 B
C

#ifndef BIKE_MATH_H
#define BIKE_MATH_H
#include <stdint.h>
//#include "bike_store.h"
typedef enum {
BIKESPEED,
BIKEHEARTRATE,
BIKECADENCE,
BIKEPOWER
} bikeDataType;
uint16_t bikeMathCalculateMinValue(bikeDataType dataType);
uint16_t bikeMathCalculateMaxValue(bikeDataType dataType);
uint16_t bikeMathCalculateAverageValue(bikeDataType dataType);
//uint16_t bikeMathGetValueForDataType(bikeStoreMeasurement measurement, bikeDataType dataType);
#endif