diff --git a/8By8/8By8.ino b/8By8/8By8.ino index ed72e79..800c7e7 100644 --- a/8By8/8By8.ino +++ b/8By8/8By8.ino @@ -38,7 +38,7 @@ public: } static void set_status(int x, int y, int z, int brightness) { - if (x >= 8 || x <= 0 || y >= 8 || y <= 0 || z >= 8 || z <= 0) { + if (x >= 8 || x < 0 || y >= 8 || y < 0 || z >= 8 || z < 0) { return; } brightness %= 4;