mirror of
https://github.com/paleotronic/microm8-gui.git
synced 2024-06-08 16:29:33 +00:00
remove heartbeat
This commit is contained in:
parent
ca9cb0ef68
commit
581d3bb7f5
|
@ -3175,7 +3175,12 @@ procedure TGUIForm.FSTimerTimer(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
isFS := (GetConfig( 'video/current.fullscreen' ) = '1');
|
isFS := (GetConfig( 'video/current.fullscreen' ) = '1');
|
||||||
if not hidden then
|
if not hidden then
|
||||||
|
begin
|
||||||
|
Caption := 'microM8 GUI';
|
||||||
SimpleGet(baseUrl+'/api/control/system/heartbeat');
|
SimpleGet(baseUrl+'/api/control/system/heartbeat');
|
||||||
|
end
|
||||||
|
else
|
||||||
|
Caption := 'microM8 GUI (hide)';
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TGUIForm.InputClick(Sender: TObject);
|
procedure TGUIForm.InputClick(Sender: TObject);
|
||||||
|
|
14
main.pas
14
main.pas
|
@ -3174,13 +3174,13 @@ end;
|
||||||
procedure TGUIForm.FSTimerTimer(Sender: TObject);
|
procedure TGUIForm.FSTimerTimer(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
isFS := (GetConfig( 'video/current.fullscreen' ) = '1');
|
isFS := (GetConfig( 'video/current.fullscreen' ) = '1');
|
||||||
if not hidden then
|
//if not hidden then
|
||||||
begin
|
//begin
|
||||||
Caption := 'microM8 GUI';
|
// Caption := 'microM8 GUI';
|
||||||
SimpleGet(baseUrl+'/api/control/system/heartbeat');
|
// SimpleGet(baseUrl+'/api/control/system/heartbeat');
|
||||||
end
|
//end
|
||||||
else
|
//else
|
||||||
Caption := 'microM8 GUI (hide)';
|
// Caption := 'microM8 GUI (hide)';
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TGUIForm.InputClick(Sender: TObject);
|
procedure TGUIForm.InputClick(Sender: TObject);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user