From cbf0ff8430e3df92182277cbf74cbd20056a8772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A1roly=20Balogh?= Date: Sun, 28 Jan 2018 23:10:17 +0000 Subject: [PATCH] amunits: fix AutoConfig structures aligment, 2 bytes alignment is needed. change tested against real hardware. git-svn-id: trunk@38075 - --- packages/amunits/src/coreunits/configregs.pas | 1 + packages/amunits/src/coreunits/configvars.pas | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/amunits/src/coreunits/configregs.pas b/packages/amunits/src/coreunits/configregs.pas index 50bbc12471..5e6f61d5c8 100644 --- a/packages/amunits/src/coreunits/configregs.pas +++ b/packages/amunits/src/coreunits/configregs.pas @@ -13,6 +13,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. **********************************************************************} +{$packrecords 2} unit configregs; diff --git a/packages/amunits/src/coreunits/configvars.pas b/packages/amunits/src/coreunits/configvars.pas index 41220e1a8d..6ef4d45255 100644 --- a/packages/amunits/src/coreunits/configvars.pas +++ b/packages/amunits/src/coreunits/configvars.pas @@ -13,6 +13,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. **********************************************************************} +{$packrecords 2} unit configvars;