mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
sensors/FIR: Disable FIR module build if no sensors are enabled.
This commit is contained in:
parent
bb8da452a3
commit
63132ea7b2
@ -10,8 +10,13 @@
|
||||
*/
|
||||
#include "py/runtime.h"
|
||||
#include "py/objlist.h"
|
||||
|
||||
#include "omv_boardconfig.h"
|
||||
|
||||
#if OMV_ENABLE_FIR_MLX90621 || \
|
||||
OMV_ENABLE_FIR_MLX90640 || \
|
||||
OMV_ENABLE_FIR_MLX90641 || \
|
||||
OMV_ENABLE_FIR_AMG8833 || \
|
||||
OMV_ENABLE_FIR_LEPTON
|
||||
#include "cambus.h"
|
||||
#if (OMV_ENABLE_FIR_MLX90621 == 1)
|
||||
#include "MLX90621_API.h"
|
||||
@ -1278,3 +1283,4 @@ void py_fir_init0()
|
||||
}
|
||||
|
||||
MP_REGISTER_MODULE(MP_QSTR_fir, fir_module);
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user