comparison Common/Inc/settings.h @ 652:f6212495f34f

Allow setpoint starting at 0.4 ppO2: Some rebreathers (e.g. Sentinel) start with a ppO2 of 0.4 Bar => modified range check to allow this value (was 0.5 before)
author Ideenmodellierer
date Mon, 19 Apr 2021 20:34:53 +0200
parents 5f0d3dce5ef4
children 890440ab993a
comparison
equal deleted inserted replaced
651:7b5a063f080f 652:f6212495f34f
70 70
71 #define MAX_COMPASS_COMP (2u) 71 #define MAX_COMPASS_COMP (2u)
72 #define MAX_VIEWPORT_MODE (0x7F) 72 #define MAX_VIEWPORT_MODE (0x7F)
73 73
74 #define MAX_SCRUBBER_TIME (500u) 74 #define MAX_SCRUBBER_TIME (500u)
75 #define MIN_PPO2_SP_CBAR (40u)
75 76
76 typedef enum 77 typedef enum
77 { 78 {
78 O2_SENSOR_SOURCE_OPTIC = 0, 79 O2_SENSOR_SOURCE_OPTIC = 0,
79 O2_SENSOR_SOURCE_ANALOG, 80 O2_SENSOR_SOURCE_ANALOG,