From 0307f0efa3aaabc887212c9535fd22560902cebd Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Fri, 2 May 2025 14:32:56 -0400 Subject: draw points on compressor map --- compressor.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'compressor.h') diff --git a/compressor.h b/compressor.h index 3442545..e394450 100644 --- a/compressor.h +++ b/compressor.h @@ -1,12 +1,14 @@ +typedef enum { + MASS_FLOW, + VOLUME_FLOW, +} FlowType; + typedef struct { union { MassFlowRate mfr; VolumeFlowRate vfr; } u; - enum { - MASS_FLOW, - VOLUME_FLOW - } t; + FlowType t; } Flow; typedef struct { -- cgit v1.2.3