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