Export to GitHub

as3-arduino-connector - issue #35

int sentEvent should be volatile


Posted on Apr 11, 2015 by Happy Bird

What steps will reproduce the problem? 1. Run extensive communication

What is the expected output? What do you see instead? onData events should not be lost.

What version of the product are you using? On what operating system? 1.5.0

Please provide any additional information below.

sentEvent variable should be declared:

volatile int sentEvent;

It should be accessed inside mutex everywhere.

Comment #1

Posted on Apr 11, 2015 by Happy Bird

sentEvent variable should be declared: volatile uint8_t sentEvent; OR It should be accessed inside mutex everywhere.

Comment #2

Posted on Apr 14, 2015 by Happy Bear

This project has been moved to GitHub by Google Code. https://github.com/quetwo/as3-arduino-connector Would you mind submitting a pull request there to correct these issues? I would love to include them in a new release.

Status: New

Labels:
Type-Defect Priority-Medium