Skip to content

Commit

Permalink
no need to refresh temp again or display suggested.json output
Browse files Browse the repository at this point in the history
  • Loading branch information
scottleibrand committed Sep 25, 2017
1 parent 695535e commit 126230b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/oref0-pump-loop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ function refresh_after_bolus_or_enact {
# refresh profile if >5m old to give SMB a chance to deliver
refresh_profile 3
gather || ( wait_for_silence 10 && gather ) || ( wait_for_silence 20 && gather )
smb_suggest 2>&1
openaps report invoke enact/smb-suggested.json 2>/dev/null >/dev/null \
&& cp -up enact/smb-suggested.json enact/suggested.json
true
fi
Expand Down

0 comments on commit 126230b

Please sign in to comment.