Skip to content

Commit

Permalink
ESP8266 Support
Browse files Browse the repository at this point in the history
  • Loading branch information
wizard97 authored Jun 28, 2016
1 parent 2c9edba commit d62e9e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RingBuf.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#define xt_wsr_ps(state) __asm__ __volatile__("wsr %0,ps; isync" :: "a" (state) : "memory")
#endif

#define RB_ATOMIC_START do { uint32_t _savedIS = xt_rsil(1) ;
#define RB_ATOMIC_START do { uint32_t _savedIS = xt_rsil(15) ;
#define RB_ATOMIC_END xt_wsr_ps(_savedIS) ;} while(0);
#else
#error “This library only supports AVR and ESP8266 Boards.”
Expand Down

0 comments on commit d62e9e0

Please sign in to comment.