From 3607eac5b40f52f15ecf46101b68f816c1579f3a Mon Sep 17 00:00:00 2001 From: jskyboo Date: Tue, 24 Jan 2017 10:07:18 -0800 Subject: Changed default state of GPS init command auto correct tool. (cherry picked from commit 2559f37539cf37221f8fddd7c0b7928e8e3969a8) --- src/usr/local/www/services_ntpd_gps.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/usr/local/www/services_ntpd_gps.php') diff --git a/src/usr/local/www/services_ntpd_gps.php b/src/usr/local/www/services_ntpd_gps.php index b72372a..e350a65 100644 --- a/src/usr/local/www/services_ntpd_gps.php +++ b/src/usr/local/www/services_ntpd_gps.php @@ -512,9 +512,9 @@ $section->addInput(new Form_Textarea( $section->addInput(new Form_Checkbox( 'autocorrect_initcmd', null, - 'Auto correct malformed initialization commands. (default: checked).', + 'Auto correct malformed initialization commands. (default: unchecked).', $pconfig['autocorrect_initcmd'] -))->setHelp('Calculates and appends checksum and missing special characters "$" and "*". Disable if causing errors.'); +))->setHelp('Calculates and appends checksum and missing special characters "$" and "*". May not work with some GPS models.'); $group = new Form_Group('NMEA Checksum Calculator'); @@ -662,7 +662,7 @@ events.push(function() { $('#gpsflag4').prop('checked', false); $('#gpssubsec').prop('checked', false); $('#extstatus').prop('checked', true); - $('#autocorrect_initcmd').prop('checked', true); + $('#autocorrect_initcmd').prop('checked', false); } // Show advanced GPS options ============================================== -- cgit v1.1