chore: resolve several compiler warnings (#6749)
This commit is contained in:
@@ -40,10 +40,6 @@ class ViewMainDecoration
|
||||
rect_t getMainZone() const;
|
||||
|
||||
protected:
|
||||
bool showTrims;
|
||||
bool showSliders;
|
||||
bool showFM;
|
||||
|
||||
enum {
|
||||
SLIDERS_POT1 = 0,
|
||||
SLIDERS_POT2,
|
||||
@@ -69,6 +65,9 @@ class ViewMainDecoration
|
||||
Window* w_bl;
|
||||
Window* w_bc;
|
||||
Window* w_br;
|
||||
bool showTrims;
|
||||
bool showSliders;
|
||||
bool showFM;
|
||||
|
||||
Window* sliders[SLIDERS_MAX] = { 0 };
|
||||
MainViewTrim* trims[TRIMS_MAX] = { 0 };
|
||||
|
||||
+1
-1
@@ -79,7 +79,7 @@ void Gyro::wakeup()
|
||||
|
||||
int16_t gx = values[0];
|
||||
int16_t gy = values[1];
|
||||
int16_t gz = values[2];
|
||||
// int16_t gz = values[2];
|
||||
|
||||
// integrate gyro
|
||||
roll -= gx * SCALE_FACT_GYRO * DT;
|
||||
|
||||
Reference in New Issue
Block a user