Files
lora_meshtastic_project/code/firmware-2.7.15.567b8ea/src/SPILock.h
T

12 lines
274 B
C

#pragma once
#include "../concurrency/LockGuard.h"
/**
* Used to provide mutual exclusion for access to the SPI bus. Usage:
* concurrency::LockGuard g(spiLock);
*/
extern concurrency::Lock *spiLock;
/** Setup SPI access and create the spiLock lock. */
void initSPI();