Skip to content

Commit

Permalink
camera_trigger: use arraySize macro from px4_macros.h
Browse files Browse the repository at this point in the history
  • Loading branch information
bkueng committed May 23, 2024
1 parent 7a01b25 commit 469b16f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/drivers/camera_trigger/interfaces/src/camera_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@

#include <parameters/param.h>
#include <px4_platform_common/log.h>

#define arraySize(a) (sizeof((a))/sizeof(((a)[0])))
#include <systemlib/px4_macros.h>

class CameraInterface
{
Expand Down

0 comments on commit 469b16f

Please sign in to comment.