mirror of
https://github.com/thiagoralves/OpenPLC_v3.git
synced 2026-09-22 02:03:38 +08:00
Fixed %MW0 access
This commit is contained in:
@@ -339,7 +339,7 @@ void ReadHoldingRegisters(unsigned char *buffer, int bufferSize)
|
||||
for(int i = 0; i < WordDataLength; i++)
|
||||
{
|
||||
int position = Start + i;
|
||||
if (position < MIN_16B_RANGE)
|
||||
if (position < MIN_16B_RANGE)
|
||||
{
|
||||
if (int_output[position] != NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user