1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-26 03:29:40 +00:00

Deploys constexpr as a stricter const.

This commit is contained in:
Thomas Harte
2019-12-22 00:22:17 -05:00
parent a847654ef2
commit 274867579b
37 changed files with 119 additions and 119 deletions
+2 -2
View File
@@ -626,9 +626,9 @@ void Video::Shifter::output_pixels(int duration, OutputBpp bpp) {
} break;
case OutputBpp::Two: {
#if TARGET_RT_BIG_ENDIAN
const int upper = 0;
constexpr int upper = 0;
#else
const int upper = 1;
constexpr int upper = 1;
#endif
if(pixel_buffer_) {
while(duration--) {