[Pkg-running-devel] [openambit] 110/131: Fix typos
Christian Perrier
bubulle at moszumanska.debian.org
Thu Jul 17 20:19:16 UTC 2014
This is an automated email from the git hooks/post-receive script.
bubulle pushed a commit to branch master
in repository openambit.
commit d881659b07abb1dc0fa18d035a8bb9ff16b74060
Author: Olaf Meeuwissen <olaf at member.fsf.org>
Date: Fri May 16 17:50:34 2014 +0900
Fix typos
---
wireshark_dissector/ambit-dissector.c | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/wireshark_dissector/ambit-dissector.c b/wireshark_dissector/ambit-dissector.c
index 51e35ff..6ea077e 100644
--- a/wireshark_dissector/ambit-dissector.c
+++ b/wireshark_dissector/ambit-dissector.c
@@ -168,7 +168,7 @@ static int hf_ambit_log_sample_periodic_time = -1;
static int hf_ambit_log_sample_periodic_altitude = -1;
static int hf_ambit_log_sample_periodic_energy = -1;
static int hf_ambit_log_sample_periodic_temp = -1;
-static int hf_ambit_log_sample_periodic_preassure = -1;
+static int hf_ambit_log_sample_periodic_pressure = -1;
static int hf_ambit_log_sample_periodic_vert_speed = -1;
static int hf_ambit_log_other_time_offset = -1;
@@ -210,7 +210,7 @@ static int hf_ambit_log_distance_source_type = -1;
static int hf_ambit_log_altitude_source_type = -1;
static int hf_ambit_log_altitude_source_altitude_offset = -1;
-static int hf_ambit_log_altitude_source_preassure_offset = -1;
+static int hf_ambit_log_altitude_source_pressure_offset = -1;
static int hf_ambit_log_ibi = -1;
@@ -252,7 +252,7 @@ static const value_string log_samples_spec_type_vals[] = {
{ 0x0c, "Altitude" },
{ 0x0e, "Energy consumption" },
{ 0x0f, "Temperature" },
- { 0x18, "Preassure" },
+ { 0x18, "Pressure" },
{ 0x19, "Vertical speed" },
{ 0, NULL }
};
@@ -274,7 +274,7 @@ static const value_string log_samples_distance_source_type_vals[] = {
};
static const value_string log_samples_altitude_source_type_vals[] = {
- { 0x04, "Preassure" },
+ { 0x04, "Pressure" },
{ 0, NULL }
};
@@ -1069,7 +1069,7 @@ static gint dissect_ambit_log_data_sample(tvbuff_t *tvb, packet_info *pinfo, pro
proto_tree_add_item(sample_tree, hf_ambit_log_sample_periodic_temp, tvb, offset + spec_offset, spec_len, ENC_LITTLE_ENDIAN);
break;
case 0x18:
- proto_tree_add_item(sample_tree, hf_ambit_log_sample_periodic_preassure, tvb, offset + spec_offset, spec_len, ENC_LITTLE_ENDIAN);
+ proto_tree_add_item(sample_tree, hf_ambit_log_sample_periodic_pressure, tvb, offset + spec_offset, spec_len, ENC_LITTLE_ENDIAN);
break;
case 0x19:
proto_tree_add_item(sample_tree, hf_ambit_log_sample_periodic_vert_speed, tvb, offset + spec_offset, spec_len, ENC_LITTLE_ENDIAN);
@@ -1198,7 +1198,7 @@ static gint dissect_ambit_log_data_sample(tvbuff_t *tvb, packet_info *pinfo, pro
offset += 1;
proto_tree_add_item(sample_tree, hf_ambit_log_altitude_source_altitude_offset, tvb, offset, 2, ENC_LITTLE_ENDIAN);
offset += 2;
- proto_tree_add_item(sample_tree, hf_ambit_log_altitude_source_preassure_offset, tvb, offset, 2, ENC_LITTLE_ENDIAN);
+ proto_tree_add_item(sample_tree, hf_ambit_log_altitude_source_pressure_offset, tvb, offset, 2, ENC_LITTLE_ENDIAN);
offset += 2;
if (offset < sample_len - 2) {
dissect_ambit_add_unknown(tvb, pinfo, sample_tree, offset, sample_len - 11);
@@ -1668,7 +1668,7 @@ proto_register_ambit(void)
{ &hf_ambit_pktlen,
{ "Packet length", "ambit.pktlen", FT_UINT32, BASE_DEC, NULL, 0x0,NULL, HFILL } },
{ &hf_ambit_payloadchksum,
- { "Paypload checksum", "ambit.payloadchksum", FT_UINT16, BASE_HEX, NULL, 0x0,NULL, HFILL } },
+ { "Payload checksum", "ambit.payloadchksum", FT_UINT16, BASE_HEX, NULL, 0x0,NULL, HFILL } },
{ &hf_ambit_date,
{ "Date", "ambit.date", FT_STRING, BASE_NONE, NULL, 0x0,NULL, HFILL } },
{ &hf_ambit_time,
@@ -1704,7 +1704,7 @@ proto_register_ambit(void)
{ &hf_ambit_personal_dual_time,
{ "Dual time", "ambit.personal.dual_time", FT_STRING, BASE_NONE, NULL, 0x0,NULL, HFILL } },
{ &hf_ambit_personal_gps_sync_time,
- { "Sync time w. GPS", "ambit.personal.gps_sync_time", FT_UINT8, BASE_DEC, NULL, 0x0,NULL, HFILL } },
+ { "Sync time with GPS", "ambit.personal.gps_sync_time", FT_UINT8, BASE_DEC, NULL, 0x0,NULL, HFILL } },
{ &hf_ambit_personal_alti_baro_fused_alti,
{ "Fused altitude", "ambit.personal.fused_alti", FT_UINT8, BASE_DEC, NULL, 0x0,NULL, HFILL } },
{ &hf_ambit_personal_alti_baro_profile,
@@ -1865,8 +1865,8 @@ proto_register_ambit(void)
{ "Energy consumption", "ambit.log_sample.periodic.energy", FT_UINT16, BASE_DEC, NULL, 0x0,NULL, HFILL } },
{ &hf_ambit_log_sample_periodic_temp,
{ "Temperature", "ambit.log_sample.periodic.temp", FT_UINT16, BASE_DEC, NULL, 0x0,NULL, HFILL } },
- { &hf_ambit_log_sample_periodic_preassure,
- { "Preassure", "ambit.log_sample.periodic.preassure", FT_UINT16, BASE_DEC, NULL, 0x0,NULL, HFILL } },
+ { &hf_ambit_log_sample_periodic_pressure,
+ { "Pressure", "ambit.log_sample.periodic.pressure", FT_UINT16, BASE_DEC, NULL, 0x0,NULL, HFILL } },
{ &hf_ambit_log_sample_periodic_vert_speed,
{ "Vertical speed", "ambit.log_sample.periodic.vert_speed", FT_UINT16, BASE_DEC, NULL, 0x0,NULL, HFILL } },
@@ -1943,8 +1943,8 @@ proto_register_ambit(void)
{ "Type", "ambit.log_sample.altitude_source.type", FT_UINT8, BASE_HEX, VALS(log_samples_altitude_source_type_vals), 0x0,NULL, HFILL } },
{ &hf_ambit_log_altitude_source_altitude_offset,
{ "Altitude offset", "ambit.log_sample.altitude_source.alt_offset", FT_INT16, BASE_DEC, NULL, 0x0,NULL, HFILL } },
- { &hf_ambit_log_altitude_source_preassure_offset,
- { "Preassure", "ambit.log_sample.altitude_source.preas_offset", FT_INT16, BASE_DEC, NULL, 0x0,NULL, HFILL } },
+ { &hf_ambit_log_altitude_source_pressure_offset,
+ { "Pressure", "ambit.log_sample.altitude_source.pres_offset", FT_INT16, BASE_DEC, NULL, 0x0,NULL, HFILL } },
{ &hf_ambit_log_ibi,
{ "IBI entry", "ambit.log_sample.ibi", FT_UINT16, BASE_DEC, NULL, 0x0,NULL, HFILL } },
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-running/openambit.git
More information about the Pkg-running-devel
mailing list