Skip to content

swap macro compile errors #16

@Rytikar

Description

@Rytikar

Hi!

Compiling with both Arduino Ide or Visual Studio I get:

Documents\Arduino\libraries\TFT_ILI9341-master/TFT_ILI9341.h:71:16: error: macro "swap" requires 3 arguments, but only 2 given

swap(T& a, T& b) { T t = a; a = b; b = t; }

What can be the problem?

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