From 292cd3eca0deda9a51ee51481cb7f882a5166a8d Mon Sep 17 00:00:00 2001 From: xinyang <895639507@qq.com> Date: Sat, 13 Jul 2019 13:57:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=8B=AC=E7=AB=8Bconfig?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- others/include/config/setconfig.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 others/include/config/setconfig.h diff --git a/others/include/config/setconfig.h b/others/include/config/setconfig.h new file mode 100644 index 0000000..7aee5c4 --- /dev/null +++ b/others/include/config/setconfig.h @@ -0,0 +1,14 @@ +#ifndef _SETCONFIG_H_ +#define _SETCONFIG_H_ + +#ifdef WITH_CONFIG + #include +#else + #warning "Without config.h" + #define ARMOR_CAMERA_GAIN (30) + #define ENERGY_CAMERA_GAIN (20) +// #define GIMBAL_FLIP_MODE (-1) +// #define CHASSIS_FLIP_MODE (-1) +#endif + +#endif /* SETCONFIG_H */