mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Allow find_rects and rot_corr to build with apriltags disabled.
This commit is contained in:
parent
e705908a3f
commit
aab594f2d0
@ -16,7 +16,6 @@
|
|||||||
// Enable new code optimizations
|
// Enable new code optimizations
|
||||||
#define OPTIMIZED
|
#define OPTIMIZED
|
||||||
|
|
||||||
#ifdef IMLIB_ENABLE_APRILTAGS
|
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Wunused-variable"
|
#pragma GCC diagnostic ignored "-Wunused-variable"
|
||||||
|
|
||||||
@ -12561,4 +12560,3 @@ void imlib_rotation_corr(image_t *img, float x_rotation, float y_rotation, float
|
|||||||
}
|
}
|
||||||
#endif //IMLIB_ENABLE_ROTATION_CORR
|
#endif //IMLIB_ENABLE_ROTATION_CORR
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
#endif //IMLIB_ENABLE_APRILTAGS
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user