Fix for BoardIndex in wap - Thanks Wanchope for reporting, thanks Illori for finding the issue

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge pull request #361 from emanuele45/fix_wap

Fix for BoardIndex in wap - Thanks Wanchope for reporting, thanks Illori...