Fixed detection of board

The wrong method was called and the provided config incorrect