aboutsummaryrefslogtreecommitdiffstats
path: root/compressor.h
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-05-02 14:32:56 -0400
committerSam Anthony <sam@samanthony.xyz>2025-05-02 14:32:56 -0400
commit0307f0efa3aaabc887212c9535fd22560902cebd (patch)
treeaff0444747807a0ec09ea183bfba11c2ef2225ec /compressor.h
parentcb1183751aa25069560923948a0a6de300e6ac9c (diff)
downloadvolute-0307f0efa3aaabc887212c9535fd22560902cebd.zip
draw points on compressor map
Diffstat (limited to 'compressor.h')
-rw-r--r--compressor.h10
1 files changed, 6 insertions, 4 deletions
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 {