commit | 53f2918cd864a41593cfe36bae75cd5d5c7138df | [log] [tgz] |
---|---|---|
author | Brian Silverman <brians> | Sat Dec 21 15:16:27 2013 -0800 |
committer | Brian Silverman <brians> | Sat Dec 21 15:16:27 2013 -0800 |
tree | 2a7336da4cadbdab37db5f687d3842f56d155c38 | |
parent | cec3c8d3ac5b5660bc9ca48d4de8d2da5b4e4fd4 [diff] [blame] |
got sending packets actually working
diff --git a/bbb_cape/src/cape/cows.c b/bbb_cape/src/cape/cows.c index 16ed1fc..bad2b30 100644 --- a/bbb_cape/src/cape/cows.c +++ b/bbb_cape/src/cape/cows.c
@@ -51,7 +51,7 @@ for (uint32_t i = 1; i < code; ++i) { destination[destination_index++] = source[source_index++]; } - if (code != UINT32_MAX && source_index != source_length) { + if (code != UINT32_MAX && source_index != source_length / 4) { destination[destination_index++] = 0; } }