mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-02 18:59:56 +00:00
8 lines
288 B
C
8 lines
288 B
C
#pragma once
|
|
|
|
#include <Arduino.h>
|
|
|
|
typedef void (*PendableFunction)(void *pvParameter1, uint32_t ulParameter2);
|
|
|
|
/// Uses a hardware timer, but calls the handler in _interrupt_ context
|
|
bool scheduleHWCallback(PendableFunction callback, void *param1, uint32_t param2, uint32_t delayMsec); |