Selaa lähdekoodia

UniTemp: Fix merge

Willy-JL 1 vuosi sitten
vanhempi
commit
a1fd07bd39
3 muutettua tiedostoa jossa 3 lisäystä ja 5 poistoa
  1. 1 1
      unitemp/application.fam
  2. 1 3
      unitemp/views/General_view.c
  3. 1 1
      unitemp/views/Widgets_view.c

+ 1 - 1
unitemp/application.fam

@@ -8,7 +8,7 @@ App(
     ],
     stack_size=2 * 1024,
     order=100,
-    fap_description="Universal temperature sensors reader",
+    fap_description="Application for reading temperature, humidity and pressure sensors like a DHT11/22, DS18B20, BMP280, HTU21 and more",
     fap_version="1.4",
     fap_author="@quen0n & (fixes by @xMasterX)",
     fap_weburl="https://github.com/quen0n/unitemp-flipperzero",

+ 1 - 3
unitemp/views/General_view.c

@@ -19,9 +19,6 @@
 #include "unitemp_icons.h"
 
 #include <assets_icons.h>
-// extern const Icon I_ButtonRight_4x7;
-// extern const Icon I_ButtonLeft_4x7;
-// extern const Icon I_Ok_btn_9x9;
 
 static View* view;
 
@@ -156,6 +153,7 @@ static void _draw_pressure(Canvas* canvas, Sensor* sensor) {
     canvas_draw_icon(canvas, x + 3, y + 4, &I_pressure_7x13);
 
     int16_t press_int = sensor->pressure;
+    // Change Temp for Pressure
     int8_t press_dec = (int16_t)(sensor->pressure * 10) % 10;
 
     //Целая часть давления

+ 1 - 1
unitemp/views/Widgets_view.c

@@ -164,7 +164,7 @@ void unitemp_widget_help_switch(void) {
     widget_reset(app->widget);
 
     widget_add_icon_element(app->widget, 3, 7, &I_repo_qr_50x50);
-    widget_add_icon_element(app->widget, 71, 15, &I_WarningDolphinFlip_45x42);
+    widget_add_icon_element(app->widget, 82, 20, &I_WarningDolphinFlip_45x42);
 
     widget_add_string_multiline_element(
         app->widget, 55, 5, AlignLeft, AlignTop, FontSecondary, "You can find help\nthere");