Fix LCM driver to support both type of displays