1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-11-02 02:53:10 +03:00

Revert "Allman now (#6080)" (#6090)

This reverts commit 98125f8860.
This commit is contained in:
Allman-astyler
2019-05-14 00:09:54 +02:00
committed by david gauchard
parent 98125f8860
commit eea9999dc5
255 changed files with 42650 additions and 50904 deletions

View File

@@ -13,23 +13,20 @@ extern "C" {
// Structures for communication
struct InterruptInfo
{
uint8_t pin = 0;
uint8_t value = 0;
uint32_t micro = 0;
struct InterruptInfo {
uint8_t pin = 0;
uint8_t value = 0;
uint32_t micro = 0;
};
struct FunctionInfo
{
struct FunctionInfo {
std::function<void(void)> reqFunction = nullptr;
std::function<void(InterruptInfo)> reqScheduledFunction = nullptr;
std::function<void(InterruptInfo)> reqScheduledFunction = nullptr;
};
struct ArgStructure
{
InterruptInfo* interruptInfo = nullptr;
FunctionInfo* functionInfo = nullptr;
struct ArgStructure {
InterruptInfo* interruptInfo = nullptr;
FunctionInfo* functionInfo = nullptr;
};
static ScheduledFunctions* scheduledInterrupts;