Git
Wiki
Site
projects
/
soft
/
perso
/
cpe
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2302db0
)
Fixes related to dtplug protocol to rc_car app
author
Nathael Pajani
<nathael.pajani@ed3l.fr>
Fri, 12 Jun 2020 10:35:55 +0000
(12:35 +0200)
committer
Nathael Pajani
<nathael.pajani@ed3l.fr>
Mon, 6 Feb 2023 01:30:21 +0000
(
02:30
+0100)
cape_rccar/main.c
patch
|
blob
|
history
diff --git
a/cape_rccar/main.c
b/cape_rccar/main.c
index
97348ee
..
2cdb275
100644
(file)
--- a/
cape_rccar/main.c
+++ b/
cape_rccar/main.c
@@
-513,10
+513,10
@@
void quickdata_to_packet(struct packet* pkt)
if (head->seq_num & QUICK_DATA_PACKET) {
pkt->data[0] = head->quick_data[0];
pkt->data[1] = head->quick_data[1];
- if (head->seq_num & QUICK_DATA_PACKET_ONE_BYTE) {
- head->data.size = 1;
- } else {
+ if (head->seq_num & QUICK_DATA_PACKET_TWO_BYTES) {
head->data.size = 2;
+ } else {
+ head->data.size = 1;
}
}
}
Techno-Innov
42 impasse de la Combe du Bois
01150 Blyes - France
contact@techno-innov.fr
Design et hébergement du site :
Techno-Innov
Techno-Innov
- SARL Coopérative
539 169 417 RCS Bourg-en-Bresse
Ce site n'utilise pas de cookies, désolé pour les gourmands !