增加独立config。

This commit is contained in:
xinyang
2019-07-13 13:57:52 +08:00
parent a8d24f412e
commit 292cd3eca0

View File

@@ -0,0 +1,14 @@
#ifndef _SETCONFIG_H_
#define _SETCONFIG_H_
#ifdef WITH_CONFIG
#include <config/config.h>
#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 */