Browse Source

AP_Notify: remove unused variables

mission-4.1.18
Pierre Kancir 8 years ago committed by Francisco Ferreira
parent
commit
a6eb337438
  1. 2
      libraries/AP_Notify/Display_SH1106_I2C.cpp
  2. 2
      libraries/AP_Notify/Display_SSD1306_I2C.cpp

2
libraries/AP_Notify/Display_SH1106_I2C.cpp

@ -19,8 +19,6 @@ @@ -19,8 +19,6 @@
#include <AP_HAL/AP_HAL.h>
#include <AP_HAL/I2CDevice.h>
static const AP_HAL::HAL& hal = AP_HAL::get_HAL();
// constructor
Display_SH1106_I2C::Display_SH1106_I2C(AP_HAL::OwnPtr<AP_HAL::Device> dev) :
_dev(std::move(dev))

2
libraries/AP_Notify/Display_SSD1306_I2C.cpp

@ -19,8 +19,6 @@ @@ -19,8 +19,6 @@
#include <AP_HAL/AP_HAL.h>
#include <AP_HAL/I2CDevice.h>
static const AP_HAL::HAL& hal = AP_HAL::get_HAL();
// constructor
Display_SSD1306_I2C::Display_SSD1306_I2C(AP_HAL::OwnPtr<AP_HAL::Device> dev) :
_dev(std::move(dev))

Loading…
Cancel
Save