summaryrefslogtreecommitdiffstats
path: root/pressure_control/firmware/remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'pressure_control/firmware/remote.c')
-rw-r--r--pressure_control/firmware/remote.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pressure_control/firmware/remote.c b/pressure_control/firmware/remote.c
index c640067..8fd104e 100644
--- a/pressure_control/firmware/remote.c
+++ b/pressure_control/firmware/remote.c
@@ -119,9 +119,10 @@ static void handle_received_message(void)
case MSG_GET_CURRENT_PRESSURE: {
struct pressure_state state;
+//FIXME
get_pressure_state(&state);
reply.id = MSG_CURRENT_PRESSURE;
- reply.pressure.mbar = state.mbar;
+ reply.pressure.mbar = state.measured_mbar;
send_message(&reply);
break;
}
bues.ch cgit interface