ESP-NOW bridge for P4 (#573)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
#include <tactility/wifi_auto_scan.h>
|
||||
#include <stddef.h>
|
||||
|
||||
static void (*registeredSetPaused)(bool paused) = NULL;
|
||||
|
||||
void wifi_auto_scan_set_paused_function(void (*set_paused)(bool paused)) {
|
||||
registeredSetPaused = set_paused;
|
||||
}
|
||||
|
||||
void wifi_auto_scan_set_paused(bool paused) {
|
||||
if (registeredSetPaused != NULL) {
|
||||
registeredSetPaused(paused);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user