浏览代码

added empty function for inverting display

ladyada 13 年之前
父节点
当前提交
74aff79422
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Adafruit_GFX.cpp

+ 4 - 0
Adafruit_GFX.cpp

@@ -440,6 +440,10 @@ void Adafruit_GFX::setRotation(uint8_t x) {
  }
 }
 
+ void Adafruit_GFX::invertDisplay(boolean i) {
+   // do nothing, can be subclassed
+}
+
 
 // return the size of the display which depends on the rotation!
  uint16_t Adafruit_GFX::width(void) {