dev20110607 injects spurious data

This forum is dedicated to software development related to MultiWii.
It is not the right place to submit a setup problem.
Software download

dev20110607 injects spurious data

Postby Hamburger » Thu Jun 09, 2011 7:17 pm

while porting some code changes from v1.7 to dev20110607 I ran across a change which in my case is causing desaster.
Old code v1.7 works:
Code: Select all

but new code in dev version
Code: Select all
      UartSendData(); // Serial.write(s,point);

does inject spurious characters into the serial input chain on the arduino! In my case the serial loop did receive 'C' and 'D' characters. On an unmodified dev version this would request the flying multiwii@arduino to write to eeprom or to calibrate acc sensor. Both not desired to happen randomly (and most notably not when in armed flight mode).

Easy fix: revert to old code. Probably somewhat slower but dead reliable.
User avatar
Posts: 2557
Joined: Tue Mar 01, 2011 2:14 pm
Location: air

Return to Software development

Who is online

Users browsing this forum: No registered users and 9 guests