mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-01 10:19:59 +00:00
12 lines
198 B
C++
12 lines
198 B
C++
#include "SPILock.h"
|
|
#include "configuration.h"
|
|
#include <Arduino.h>
|
|
#include <assert.h>
|
|
|
|
concurrency::Lock *spiLock;
|
|
|
|
void initSPI()
|
|
{
|
|
assert(!spiLock);
|
|
spiLock = new concurrency::Lock();
|
|
} |