MarkusLange / OneWireSlave

38 stars 9 forks source link

sei() and cli() not recognised when compiling for Due #3

Closed GitLang closed 9 years ago

GitLang commented 9 years ago

Seems it is necessary to use interrupts() instead of sei() and noInterrupts() instead of cli() in OneWireSlave.cpp. Then it will compile fine in ARM mode for Due with Arduino 1.5.7, otherwise cli) and sei() are not recognised.

Git

MarkusLange commented 9 years ago

Yes you are right I will change that

MarkusLange commented 9 years ago

Done