diff options
Diffstat (limited to 'src/ipa/raspberrypi/controller/rpi/agc.h')
-rw-r--r-- | src/ipa/raspberrypi/controller/rpi/agc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipa/raspberrypi/controller/rpi/agc.h b/src/ipa/raspberrypi/controller/rpi/agc.h index 48b33a10..f57afa6d 100644 --- a/src/ipa/raspberrypi/controller/rpi/agc.h +++ b/src/ipa/raspberrypi/controller/rpi/agc.h @@ -22,12 +22,12 @@ * number (which is 16). */ -#define AGC_STATS_SIZE 15 +constexpr unsigned int AgcStatsSize = 15; namespace RPiController { struct AgcMeteringMode { - double weights[AGC_STATS_SIZE]; + double weights[AgcStatsSize]; void read(boost::property_tree::ptree const ¶ms); }; |