Skip to content

Namespace for function and header files. #2

@hetii

Description

@hetii

Hello.
I try to use frser for esp8266 platform.
As I see the api is a bit painful to apply it directly there.

For eg. If this library try to be portable as possible each function should have a prefix like frser_*
Otherwise we can have already function called like spi_init()

Also in I notice that udalay.c we have _delay_us what is a avr specific name.I know its a week reference but still...

Also IMHO instead using preprocessor directives #defined RECEIVE() .. etc and include files like uart.h main.h etc, we should have a single file like frser_api.h where all api function can be defined for eg as extern and then used in external project.

Currently its not possible to don`t have header files like uart.h, so again this lib should use name prefix for such file or all api should be in frser_api.h/c

Best Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions