mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
fix segfault from 352fcdf54d
Origin commit data
------------------
Branch: ni/coolstream
Commit: 43a61920ac
Author: TangoCash <eric@loxat.de>
Date: 2022-11-21 (Mon, 21 Nov 2022)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -137,7 +137,6 @@ cGLCD::cGLCD()
|
|||||||
InitAnalogClock();
|
InitAnalogClock();
|
||||||
InitDigitalClock();
|
InitDigitalClock();
|
||||||
InitSimpleClock();
|
InitSimpleClock();
|
||||||
InitWeather();
|
|
||||||
|
|
||||||
Update();
|
Update();
|
||||||
}
|
}
|
||||||
@@ -667,6 +666,8 @@ void cGLCD::updateFonts()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
WeatherUpdateFonts();
|
||||||
|
|
||||||
fonts_initialized = true;
|
fonts_initialized = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -51,11 +51,6 @@ int weather_fontsize;
|
|||||||
int standby_weather_percent;
|
int standby_weather_percent;
|
||||||
int standby_weather_fontsize;
|
int standby_weather_fontsize;
|
||||||
|
|
||||||
void InitWeather()
|
|
||||||
{
|
|
||||||
WeatherUpdateFonts();
|
|
||||||
}
|
|
||||||
|
|
||||||
void WeatherUpdateFonts()
|
void WeatherUpdateFonts()
|
||||||
{
|
{
|
||||||
cGLCD *cglcd = cGLCD::getInstance();
|
cGLCD *cglcd = cGLCD::getInstance();
|
||||||
|
@@ -28,7 +28,6 @@
|
|||||||
#pragma GCC diagnostic warning "-Wunused-parameter"
|
#pragma GCC diagnostic warning "-Wunused-parameter"
|
||||||
#include "glcd.h"
|
#include "glcd.h"
|
||||||
|
|
||||||
void InitWeather();
|
|
||||||
void WeatherUpdateFonts();
|
void WeatherUpdateFonts();
|
||||||
void RenderWeather(int cx, int cy, int nx, int ny, bool standby);
|
void RenderWeather(int cx, int cy, int nx, int ny, bool standby);
|
||||||
void ShowWeather(bool standby);
|
void ShowWeather(bool standby);
|
||||||
|
Reference in New Issue
Block a user