diff options
Diffstat (limited to 'src/ipa/raspberrypi/controller/alsc_status.h')
-rw-r--r-- | src/ipa/raspberrypi/controller/alsc_status.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ipa/raspberrypi/controller/alsc_status.h b/src/ipa/raspberrypi/controller/alsc_status.h index 498880da..e5aa7e37 100644 --- a/src/ipa/raspberrypi/controller/alsc_status.h +++ b/src/ipa/raspberrypi/controller/alsc_status.h @@ -11,11 +11,11 @@ * "alsc.status" metadata. */ -#define ALSC_CELLS_X 16 -#define ALSC_CELLS_Y 12 +constexpr unsigned int AlscCellsX = 16; +constexpr unsigned int AlscCellsY = 12; struct AlscStatus { - double r[ALSC_CELLS_Y][ALSC_CELLS_X]; - double g[ALSC_CELLS_Y][ALSC_CELLS_X]; - double b[ALSC_CELLS_Y][ALSC_CELLS_X]; + double r[AlscCellsY][AlscCellsX]; + double g[AlscCellsY][AlscCellsX]; + double b[AlscCellsY][AlscCellsX]; }; |