Skip to content

Suspected typo in tmc2209/uartcomm.go #792

@JohnInTheGarage

Description

@JohnInTheGarage

Slave address is fixed at zero in ReadRegister but not in WriteRegister and that seems like a possible problem to me.

I tried to copy the relevant code sections but yikes! Wrapping it with the <> option didn't look good at all, so just leaving the two lines :

WriteRegister has
comm.address, // Slave address

ReadRegister has
writeBuffer[1] = 0x00 // Slave address

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions