summaryrefslogtreecommitdiff
path: root/n/es-2006/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'n/es-2006/src/main.c')
-rw-r--r--n/es-2006/src/main.c7
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 */