Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CustomizationSelect.sh
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,12 @@ function message_for_xdrip() {
printf " https://www.loopandlearn.org/custom-code#custom-list\n\n"
}

function message_for_cgm_sensor_notes() {
printf " Upload Dexcom G6/G7 sensor problems (sensor issue, failure, expiry,\n"
printf " excess noise, calibration error) to Nightscout as Note treatments\n"
printf " https://www.loopandlearn.org/custom-code#custom-list\n\n"
}

# list patches in this order with args:
# User facing information for option
# Folder name in the patch repo
Expand Down Expand Up @@ -846,6 +852,7 @@ add_customization "(Included in 3.10.0) Live Activity/Dynamic Island" "live_acti
add_customization "Negative Insulin Damper" "negative_insulin" "message_for_negative_insulin"

add_customization "Increase Remote Window to 10 minutes" "remote_window" "message_for_remote_window"
add_customization "Report CGM Sensor Errors to Nightscout" "cgm_sensor_notes" "message_for_cgm_sensor_notes"

# xdrip_cgm adds the xdrip-client-swift submodule, so the 6th arg tells the
# script to clone it after the patch is applied
Expand Down
7 changes: 7 additions & 0 deletions src/CustomizationSelect.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ function message_for_xdrip() {
printf " https://www.loopandlearn.org/custom-code#custom-list\n\n"
}

function message_for_cgm_sensor_notes() {
printf " Upload Dexcom G6/G7 sensor problems (sensor issue, failure, expiry,\n"
printf " excess noise, calibration error) to Nightscout as Note treatments\n"
printf " https://www.loopandlearn.org/custom-code#custom-list\n\n"
}

# list patches in this order with args:
# User facing information for option
# Folder name in the patch repo
Expand Down Expand Up @@ -100,6 +106,7 @@ add_customization "(Included in 3.10.0) Live Activity/Dynamic Island" "live_acti
add_customization "Negative Insulin Damper" "negative_insulin" "message_for_negative_insulin"

add_customization "Increase Remote Window to 10 minutes" "remote_window" "message_for_remote_window"
add_customization "Report CGM Sensor Errors to Nightscout" "cgm_sensor_notes" "message_for_cgm_sensor_notes"

# xdrip_cgm adds the xdrip-client-swift submodule, so the 6th arg tells the
# script to clone it after the patch is applied
Expand Down