Skip to content

Remove #if !defined(__AVR__) to improve code clarity. #299

Closed
@aentinger

Description

@aentinger

All those

#if !defined(__AVR__)
    /* ... */
#endif

statements can be safely removed (of course preserving the statements within those ifdef/endif parts), i.e.

-#if !defined(__AVR__)
  DEBUG_ERROR("Check your thing configuration, and press the reset button on your board.");
-#endif

Reason: Those statements where introduced to save flash when running Arduino IoT Cloud on the very ressource constrained Arduino Uno WiFi Rev. 2, however the idea of running the cloud stack on this board has long since been given up (and is now more impossible than ever before, due to continous growth of the firmware stack).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions