Move board checks to separate function, quick I2C fix