si2e-2005-2007.git - SI2E CVS snapshoot index : si2e-2005-2007.git master SI2E CVS snapshoot APBTeam summaryrefslogtreecommitdiff log msg author committer range path: root/n/es-2006/src/main.c diff options context: 12345678910152025303540 space: includeignore mode: unifiedssdiffstat only author lambert 2006-05-20 19:05:54 +0000 committer lambert 2006-05-20 19:05:54 +0000 commit 9649abd1d9917217b27f437c7aec641a2c78393a (patch) tree cbceeea89038804d4e38cb2514e7c6a15648cd00 /n/es-2006/src/main.c parent a187da0b35fdea10d5028edf35179d45c49278cb (diff) ES (Barillet) : - ajout des modifications (changement dans la gestion de la machine à états, ...). Diffstat (limited to 'n/es-2006/src/main.c') -rw-r--r-- n/es-2006/src/main.c 7 1 files changed, 3 insertions, 4 deletions diff --git a/n/es-2006/src/main.c b/n/es-2006/src/main.c index ceb07d9..fdab030 100644 --- a/n/es-2006/src/main.c +++ b/n/es-2006/src/main.c @@ -132,18 +132,17 @@ proto_callback (uint8_t cmd, uint8_t size, uint8_t *args) /* deposer une balle du barillet */ case c ('d', 0): - depot = 1; + depot_balle(); break; /* extraire une balle */ case c ('e', 0): - extraction = 1; + extraction(); break; /* rotation du barillet */ case c ('t', 1): - rotation = 1; - pos_a_aller = args[0]; + rotation(args[0]); break; /* Unknown commands */ generated by cgit v1.2.3 (git 2.25.1) at 2022-09-24 16:11:32 +0000