mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-28 10:42:08 +00:00
11 lines
171 B
C++
11 lines
171 B
C++
#include "SPILock.h"
|
|
#include <Arduino.h>
|
|
#include <assert.h>
|
|
|
|
concurrency::Lock *spiLock;
|
|
|
|
void initSPI()
|
|
{
|
|
assert(!spiLock);
|
|
spiLock = new concurrency::Lock();
|
|
} |