diff options
author | Gerasimos Dimitriadis <dimeg@intracom.gr> | 2010-02-04 21:14:53 +0000 |
---|---|---|
committer | Gerasimos Dimitriadis <dimeg@intracom.gr> | 2010-02-04 21:14:53 +0000 |
commit | 2aeb3bf5ee4e6f54946bc8327093d2afed8c6a9a (patch) | |
tree | a3fa323075e8371d4aa59cd4f41a8fcf042fd660 /epan/dissectors/packet-hilscher.c | |
parent | b7a09f7ac8421fb3d44bac418a632ed6cd355668 (diff) |
From Holger Pfrommer:
Updated text in packet-hilscher.c
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4462
svn path=/trunk/; revision=31790
Diffstat (limited to 'epan/dissectors/packet-hilscher.c')
-rw-r--r-- | epan/dissectors/packet-hilscher.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-hilscher.c b/epan/dissectors/packet-hilscher.c index d5c17df281..cac5999e72 100644 --- a/epan/dissectors/packet-hilscher.c +++ b/epan/dissectors/packet-hilscher.c @@ -82,8 +82,8 @@ static const value_string gpio_number[] = { }; static const value_string gpio_edge[] = { - { 0x0, "positive edge" }, - { 0x1, "negative edge" }, + { 0x0, "rising edge" }, + { 0x1, "falling edge" }, { 0, NULL } }; @@ -113,9 +113,9 @@ dissect_hilscher_netanalyzer(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree gpio_edgex = (tvb_get_guint8(tvb, offset) & 0x01); if (gpio_edgex == 0x00) - col_add_fstr(pinfo->cinfo, COL_INFO, "netANALYZER event on GPIO %d (positive edge)", gpio_num); + col_add_fstr(pinfo->cinfo, COL_INFO, "netANALYZER event on GPIO %d (rising edge)", gpio_num); else - col_add_fstr(pinfo->cinfo, COL_INFO, "netANALYZER event on GPIO %d (negative edge)", gpio_num); + col_add_fstr(pinfo->cinfo, COL_INFO, "netANALYZER event on GPIO %d (falling edge)", gpio_num); } |