Fixed stupid copy/paste typo

This commit is contained in:
Lorenz Meier 2013-01-01 13:39:00 +01:00
parent 4eb7df6ff5
commit 803352e722
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ PX4IO::task_main()
_to_input_rc = orb_advertise(ORB_ID(input_rc), &_input_rc);
/* do not advertise the battery status until its clear that a battery is connected */
memset(&_input_rc, 0, sizeof(_input_rc));
memset(&_battery_status, 0, sizeof(_battery_status));
_to_battery = -1;
/* poll descriptor */