Fix tw28713 for big endian CPUs

git-svn-id: trunk@48795 -
This commit is contained in:
pierre 2021-02-23 22:04:18 +00:00
parent 5afa26ddd1
commit f85d7d2591

View File

@ -6,7 +6,14 @@ type
TWordArray = array [0..1023]of Word;
WordRec = packed record
{$ifdef FPC}
{$ifdef FPC_LITTLE_ENDIAN}
LoByte,HiByte:Byte
{$endif}
{$ifdef FPC_BIG_ENDIAN}
HiByte,LoByte:Byte
{$endif}
{$endif}
end;
var