Using a typedef to define the ISR function pointer type
This commit is contained in:
parent
88d236bd45
commit
6f366fa386
@ -14,6 +14,8 @@
|
||||
|
||||
void defaultExtIntIsr(void);
|
||||
|
||||
typedef void (*ExtIntIsr)(void);
|
||||
|
||||
class MBPeripherals
|
||||
{
|
||||
public:
|
||||
@ -72,7 +74,7 @@ class MBPeripherals
|
||||
void _3V3PowerRail(State state);
|
||||
const BoardConfig &_boardConfig;
|
||||
const RF24 _NRF;
|
||||
const void (*_extIntIsr)(void);
|
||||
ExtIntIsr _extIntIsr;
|
||||
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user