This commit is contained in:
Rens Pastoor
2025-05-27 22:41:46 +02:00
parent d141296aea
commit 11b391b8a1
416 changed files with 25232 additions and 0 deletions

19
C/C1/bike_math.h Normal file
View File

@@ -0,0 +1,19 @@
#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