diff options
Diffstat (limited to 'Modelica-Arduino-MDD_Arduino_Revised/Resources/src/nointerrupts.c')
-rwxr-xr-x | Modelica-Arduino-MDD_Arduino_Revised/Resources/src/nointerrupts.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Modelica-Arduino-MDD_Arduino_Revised/Resources/src/nointerrupts.c b/Modelica-Arduino-MDD_Arduino_Revised/Resources/src/nointerrupts.c new file mode 100755 index 0000000..d8f26dd --- /dev/null +++ b/Modelica-Arduino-MDD_Arduino_Revised/Resources/src/nointerrupts.c @@ -0,0 +1,15 @@ +#include <stdio.h> +#include <stdlib.h> +#include <time.h> +#include <math.h> +#include <unistd.h> +#include </home/mr_robot/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h> +void nointerrupts() +{ + noInterrupts(); +} + +int main (void) +{ + return 0; +} |