Sensor type & formula

This commit is contained in:
Raphael Coeffic
2021-11-10 11:07:02 +01:00
parent 24b69098c7
commit 3da2aee1ff
31 changed files with 545 additions and 209 deletions
+9 -9
View File
@@ -834,7 +834,7 @@ enum Functions {
#if defined(DEBUG)
FUNC_TEST, // should remain the last before MAX as not added in Companion
#endif
FUNC_MAX
FUNC_MAX SKIP
};
enum TimerModes {
@@ -844,8 +844,8 @@ enum TimerModes {
TMRMODE_THR,
TMRMODE_THR_REL,
TMRMODE_THR_START,
TMRMODE_COUNT,
TMRMODE_MAX = TMRMODE_COUNT - 1
TMRMODE_COUNT SKIP,
TMRMODE_MAX SKIP = TMRMODE_COUNT - 1
};
enum CountDownModes {
@@ -855,7 +855,7 @@ enum CountDownModes {
#if defined(HAPTIC)
COUNTDOWN_HAPTIC,
#endif
COUNTDOWN_COUNT
COUNTDOWN_COUNT SKIP
};
enum ResetFunctionParam {
@@ -866,8 +866,8 @@ enum ResetFunctionParam {
FUNC_RESET_TELEMETRY,
FUNC_RESET_PARAM_FIRST_TELEM,
FUNC_RESET_PARAM_LAST_TELEM = FUNC_RESET_PARAM_FIRST_TELEM + MAX_TELEMETRY_SENSORS,
FUNC_RESET_PARAMS_COUNT,
FUNC_RESET_PARAM_LAST = FUNC_RESET_PARAMS_COUNT-1,
FUNC_RESET_PARAMS_COUNT SKIP,
FUNC_RESET_PARAM_LAST SKIP = FUNC_RESET_PARAMS_COUNT-1,
};
enum AdjustGvarFunctionParam {
@@ -882,9 +882,9 @@ enum BluetoothModes {
BLUETOOTH_TELEMETRY,
BLUETOOTH_TRAINER,
#if defined(PCBX9E)
BLUETOOTH_MAX=BLUETOOTH_TELEMETRY
BLUETOOTH_MAX SKIP = BLUETOOTH_TELEMETRY
#else
BLUETOOTH_MAX=BLUETOOTH_TRAINER
BLUETOOTH_MAX SKIP = BLUETOOTH_TRAINER
#endif
};
@@ -892,7 +892,7 @@ enum UartSampleModes {
UART_SAMPLE_MODE_NORMAL = 0,
UART_SAMPLE_MODE_ONEBIT,
UART_SAMPLE_MODE_MAX = UART_SAMPLE_MODE_ONEBIT
UART_SAMPLE_MODE_MAX SKIP = UART_SAMPLE_MODE_ONEBIT
};
// PXX2 constants