From f2731bac95ebcd91a2a4b289fefa635ae7c34094 Mon Sep 17 00:00:00 2001 From: jaseg Date: Thu, 26 Dec 2013 19:16:56 +0100 Subject: Fixed crate indexing --- firmware/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'firmware') diff --git a/firmware/main.c b/firmware/main.c index afe766e..a7a0436 100644 --- a/firmware/main.c +++ b/firmware/main.c @@ -55,10 +55,10 @@ #define CRATE_SIZE (CRATE_WIDTH*CRATE_HEIGHT) #define BUS_SIZE (CRATES_PER_BUS*CRATE_SIZE*BYTES_PER_PIXEL) unsigned const char const BOTTLE_MAP[CRATE_SIZE] = { - 0, 1, 2, 3, 4, - 19, 8, 7, 6, 5, + 17, 16, 15, 14, 13, 18, 9, 10, 11, 12, - 17, 16, 15, 14, 13 + 19, 8, 7, 6, 5, + 0, 1, 2, 3, 4 }; unsigned const char const CRATE_MAP[CRATE_COUNT] = { -- cgit