We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57d878a commit b7c9e9bCopy full SHA for b7c9e9b
libraries/Ethernet/src/EthernetDriver.h
@@ -5,8 +5,9 @@
5
#include "r_ether_phy.h"
6
#include "r_ether_api.h"
7
#include "r_ether.h"
8
+#include <functional>
9
-using EtherCallback_f = void (*)(void);
10
+using EtherCallback_f = std::function<void(void)>;
11
12
#define ETHERNET_IRQ_PRIORITY 10
13
0 commit comments