Skip to content

Add include guards instead of #pragma once #171

Closed
@PatrickDekker98

Description

@PatrickDekker98

#pragma once

#Pragma once instead of include guards causes error: redefinition of 'class arduino::UDP' with the ArduinoCore-samd.
An easy fix would be to add:

#ifndef udp_h
#define udp_h
....
#endif

Or remove the double class definition

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