Added preproccessor directive to warn a user if the device isn't supported.