From: hadaq Date: Thu, 9 Jul 2009 17:25:35 +0000 (+0000) Subject: . X-Git-Tag: v6.0~415 X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=9978ba7a1382f4f142944e93ccec67ca01abd934;p=trbnettools.git . --- diff --git a/libtrbnet/trberror.h b/libtrbnet/trberror.h index 6ba7c40..294b818 100644 --- a/libtrbnet/trberror.h +++ b/libtrbnet/trberror.h @@ -40,7 +40,7 @@ const char* trb_strerror(int errno); typedef struct { uint16_t status_common; uint16_t status_channel; - uint16_t sequenz; + uint16_t sequence; uint8_t channel; } TRB_TERM; diff --git a/libtrbnet/trbnet.c b/libtrbnet/trbnet.c index 7616af2..161c377 100644 --- a/libtrbnet/trbnet.c +++ b/libtrbnet/trbnet.c @@ -724,7 +724,7 @@ static int trb_fifo_read(uint8_t channel, /* Copy StatusBits and Sequenze of TerminationPackage */ trb_term.status_common = package.F2; trb_term.status_channel = package.F1; - trb_term.sequenz = package.F3; + trb_term.sequence = package.F3; trb_term.channel = channel; if (trb_lazy == 0) {