C ordening

This commit is contained in:
Rens Pastoor
2025-05-27 23:26:28 +02:00
parent 39269a71a7
commit 517087ccc1
207 changed files with 0 additions and 4278 deletions

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