Skip to content

Arduino IDE 1.5.4 Servo library defenition refers to implementation specific file #1617

Closed
@jantje

Description

@jantje

The file servo.h includes ServoTimers.h which is in the arch folder.
This has 2 consequences

  1. All arch implementation need a ServoTimers.h file
  2. arch/[infrastructure] needs to be added to the include path

This should be fixed because a definition should never enforce an implementation.
Adding the header to the Servo.cpp file in the avr and sam fixes this problem

include "Servo.h"

// Architecture specific include

include "ServoTimers.h"

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