Using interrupts(); and nointerrupts(); with Blend V2


#1

Helo,

I´m using temperature sensor DS18B20 and OneWire Library.
The error of using interrupts() and Nointerrupts() functions isn´t easy to manage.

I already Used the guohui sugestion of adding this code:
#define interrupts() __enable_irq()
#define noInterrupts() __disable_irq()

The board I´m using to compile is: RBL_Blend2
For others boards the error doesn´t appear.

Any clue?

Thanks in advance,
João Rocha