Skip to content

https://github.com/LinuxCNC/linuxcnc/pull/3334 affects RTAI build #3435

@andypugh

Description

@andypugh

#3334 uses "labs()" which is not defined in kernel mode in rtapi_math.h

There are many ways to fix this, from a local fix in sserial.c, up to a complete rethink of rtapi_math.h (possibly using <linux/math,h> which was apparently introduced in 2020.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions