C ordening
This commit is contained in:
19
C/C1 bike computer/bike_math.h
Normal file
19
C/C1 bike computer/bike_math.h
Normal 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
|
||||
Reference in New Issue
Block a user