Skip to content

Commit

Permalink
fix(plc4j/codegen): fixed typo in write data time
Browse files Browse the repository at this point in the history
  • Loading branch information
sruehl committed Mar 7, 2022
1 parent 67cc89c commit 2f587a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ public String getDataWriterCall(SimpleTypeReference simpleTypeReference) {
case DATE:
return "writeDate(writeBuffer)";
case DATETIME:
return "writeDateTime(readBuffer)";
return "writeDateTime(writeBuffer)";
default:
throw new UnsupportedOperationException("Unsupported type " + simpleTypeReference.getBaseType());
}
Expand Down

0 comments on commit 2f587a7

Please sign in to comment.