Fix type of struct returned by nut_info()

nut_info() returns a struct with type `nut_info`.

The documentation, however, mentiones that the struct is of type
`screw_info`. This might be a copy-paste issue.
This commit is contained in:
Christof Laenzlinger 2023-05-29 22:10:26 +02:00
parent af79314a08
commit 4bf0e764a6
No known key found for this signature in database
GPG Key ID: 85BB3E185B87FC10

View File

@ -1884,7 +1884,7 @@ function screw_info(name, head, drive, thread, drive_size, shaft_oversize, head_
// .
// Field | What it is
// ------------------ | ---------------
// "type" | Always set to "screw_info"
// "type" | Always set to "nut_info"
// "system" | Either `"UTS"` or `"ISO"` (used for correct tolerance computation).
// "origin" | Module that created the structure
// "name" | Name used to specify threading, such as "M6" or "#8"