Skip to content

Commit

Permalink
Compile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamegrieve committed Mar 2, 2024
1 parent 840388d commit be8f17e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions library/fsl/fsl_cpu.pas
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ implementation
constructor TCPUUsageData.Create(PID : cardinal = 0);
{$IFDEF WINDOWS}
var
p : PCPUUsageData;
mCreationTime, mExitTime, mKernelTime, mUserTime:_FILETIME;
h : cardinal;
{$ENDIF}
Expand Down Expand Up @@ -129,7 +128,7 @@ function TCPUUsageData.cpuUsage : Single;
begin
result := 0;
{$IFDEF WINDOWS}
if FHandle <> 0) then
if (FHandle <> 0) then
begin
result := FLastUsage;
ThisTime := GetTickCount; //Get the time elapsed since last query
Expand Down

0 comments on commit be8f17e

Please sign in to comment.