Fusion des codes pour PAMI et carte de propulsion
This commit is contained in:
parent
5f4cacf2d1
commit
ff2996f0e6
@ -1,3 +1,4 @@
|
||||
#include "config_robot.h"
|
||||
#include "QEI.h"
|
||||
#include "Moteurs.h"
|
||||
#include "Asser_Moteurs.h"
|
||||
|
||||
16
config_robot.h
Normal file
16
config_robot.h
Normal file
@ -0,0 +1,16 @@
|
||||
// Changer le define en fonction qu'on soit sur les PAMIs ou sur le robot principal
|
||||
|
||||
#define ROBOT_PROPULSION_2026
|
||||
//#define ROBOT_TYPE_PAMI
|
||||
|
||||
#ifndef ROBOT_PROPULSION_2026
|
||||
#ifndef ROBOT_TYPE_PAMI
|
||||
#error "Vous devez choisir un type de robot"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef ROBOT_PROPULSION_2026
|
||||
#ifdef ROBOT_TYPE_PAMI
|
||||
#error "Vous devez choisir un seul type de robot"
|
||||
#endif
|
||||
#endif
|
||||
Loading…
Reference in New Issue
Block a user