Merge pull request #19 from Pigeo/patch-1

No more irrelevant compiler warnings :-)
master
marcoschwartz 7 years ago committed by GitHub
commit 58ed0d481a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      LiquidCrystal_I2C.cpp

@ -317,6 +317,8 @@ void LiquidCrystal_I2C::printstr(const char c[]){
// unsupported API functions // unsupported API functions
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
void LiquidCrystal_I2C::off(){} void LiquidCrystal_I2C::off(){}
void LiquidCrystal_I2C::on(){} void LiquidCrystal_I2C::on(){}
void LiquidCrystal_I2C::setDelay (int cmdDelay,int charDelay) {} void LiquidCrystal_I2C::setDelay (int cmdDelay,int charDelay) {}
@ -326,5 +328,5 @@ uint8_t LiquidCrystal_I2C::init_bargraph(uint8_t graphtype){return 0;}
void LiquidCrystal_I2C::draw_horizontal_graph(uint8_t row, uint8_t column, uint8_t len, uint8_t pixel_col_end){} void LiquidCrystal_I2C::draw_horizontal_graph(uint8_t row, uint8_t column, uint8_t len, uint8_t pixel_col_end){}
void LiquidCrystal_I2C::draw_vertical_graph(uint8_t row, uint8_t column, uint8_t len, uint8_t pixel_row_end){} void LiquidCrystal_I2C::draw_vertical_graph(uint8_t row, uint8_t column, uint8_t len, uint8_t pixel_row_end){}
void LiquidCrystal_I2C::setContrast(uint8_t new_val){} void LiquidCrystal_I2C::setContrast(uint8_t new_val){}
#pragma GCC diagnostic pop

Loading…
Cancel
Save