Ignore:
Timestamp:
Mar 30, 2016, 4:58:08 PM (8 years ago)
Author:
ertl-honda
Message:

SPI/Wire/ESP8266の排他制御用のセマフォの追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtos_arduino/trunk/lib/rca_lib.h

    r136 r196  
    143143#endif /* RCA_ENABLE_PROFILING */
    144144
     145#define WIRE_ENTER_CRITICAL wai_sem(WIRE_SEM);
     146#define WIRE_LEAVE_CRITICAL sig_sem(WIRE_SEM);
     147
    145148#ifdef __cplusplus
    146149}
Note: See TracChangeset for help on using the changeset viewer.