Forgot the side south case

This commit is contained in:
Daniel Løvbrøtte Olsen 2017-04-06 13:33:37 +02:00 committed by GitHub
parent 125bd4a568
commit c7891163fe

View File

@ -244,7 +244,8 @@ void getNeighborLED(LEDSelect* origin, byte origin_dir, LEDSelect* Result)
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
return;
}