-
-
Notifications
You must be signed in to change notification settings - Fork 99
Allow for pressure readings without dimmer #468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
WalkthroughThe Changes
Sequence DiagramsequenceDiagram
participant Caller
participant sendSensorData as sendSensorData()
participant DimmedPump
participant BLE
rect rgb(230, 245, 250)
Note over sendSensorData: Old Flow: Separate Sends
Caller->>sendSensorData: invoke
sendSensorData->>BLE: sendSensorData (with zeros)
sendSensorData->>BLE: sendVolumetricData
end
rect rgb(245, 250, 230)
Note over sendSensorData: New Flow: Aggregated Send
Caller->>sendSensorData: invoke
sendSensorData->>sendSensorData: Initialize local vars (temp, pressure, flows)
alt Dimming Enabled
sendSensorData->>DimmedPump: Get measurements
DimmedPump-->>sendSensorData: puckFlow, pumpFlow, puckResistance
end
sendSensorData->>sendSensorData: Populate all measurements
sendSensorData->>BLE: sendSensorData (aggregated)
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧬 Code graph analysis (1)lib/GaggiMateController/src/GaggiMateController.cpp (2)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|



This update allows having the pressure reading functionality without enabling the dimming functionality.
Summary by CodeRabbit