Skip to content

Commit db40513

Browse files
BeatTimewwhai
authored andcommitted
refactor: 修改名称
1 parent 76263b5 commit db40513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: device/generic_modbus_device.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ type _GMODCommonConfig struct {
6565
Mode string `json:"mode"`
6666
AutoRequest *bool `json:"autoRequest"`
6767
EnableOptimize bool `json:"enableOptimize"`
68-
MaxRegNum uint16 `json:"maxNum"`
68+
MaxRegNum uint16 `json:"maxRegNum"`
6969
}
7070
type _GMODConfig struct {
7171
CommonConfig _GMODCommonConfig `json:"commonConfig" validate:"required"`

0 commit comments

Comments
 (0)