Forgot the side south case
This commit is contained in:
parent
125bd4a568
commit
c7891163fe
@ -244,7 +244,8 @@ void getNeighborLED(LEDSelect* origin, byte origin_dir, LEDSelect* Result)
|
|||||||
|
|
||||||
|
|
||||||
if ((side == 0 && (origin_dir == NORTH || origin_dir == SOUTH))
|
if ((side == 0 && (origin_dir == NORTH || origin_dir == SOUTH))
|
||||||
|| (side == 4 && origin_dir == NORTH)) {
|
|| (side == 4 && origin_dir == NORTH)
|
||||||
|
|| (side == 5 && origin_dir == SOUTH)) {
|
||||||
(column == 0) ? Result->column = 2 : Result->column = 0; // Sets edge to opposite
|
(column == 0) ? Result->column = 2 : Result->column = 0; // Sets edge to opposite
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user