mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-18 00:37:13 +02:00
converted CMT to use same SPI as NRF (for fusion board)
This commit is contained in:
parent
7c62df071f
commit
25c9667633
12 changed files with 313 additions and 324 deletions
17
src/utils/spiPatcherHandle.h
Normal file
17
src/utils/spiPatcherHandle.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// 2023 Ahoy, https://www.mikrocontroller.net/topic/525778
|
||||
// Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#ifndef __SPI_PATCHER_HANDLE_H__
|
||||
#define __SPI_PATCHER_HANDLE_H__
|
||||
#pragma once
|
||||
|
||||
class SpiPatcherHandle {
|
||||
public:
|
||||
virtual ~SpiPatcherHandle() {}
|
||||
virtual void patch() = 0;
|
||||
virtual void unpatch() = 0;
|
||||
};
|
||||
|
||||
#endif /*__SPI_PATCHER_HANDLE_H__*/
|
Loading…
Add table
Add a link
Reference in a new issue