mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 22:13:13 -06:00
9 lines
202 B
C
9 lines
202 B
C
#include "critical-section.h"
|
|
#include <stdint.h>
|
|
|
|
uint8_t in_critical_usb_section = 0;
|
|
|
|
void critical_begin() { in_critical_usb_section++; }
|
|
|
|
void critical_end() { in_critical_usb_section--; }
|