1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-21 11:54:15 +01:00

Fixup: Correct typo in controller

This commit is contained in:
James Cotton 2012-08-05 16:26:18 -05:00
parent 48701f3252
commit 8b26696e77

View File

@ -51,7 +51,7 @@ public class Controller extends ObjectManagerActivity {
void onOPConnected() { void onOPConnected() {
Log.d(TAG, "onOPConnected()"); Log.d(TAG, "onOPConnected()");
// Subsribe to updates from ManualControlCommand and show the values for crude feedback // Subscribe to updates from ManualControlCommand and show the values for crude feedback
UAVDataObject manualControl = (UAVDataObject) objMngr.getObject("ManualControlCommand"); UAVDataObject manualControl = (UAVDataObject) objMngr.getObject("ManualControlCommand");
if(manualControl != null) { if(manualControl != null) {
manualControl.addUpdatedObserver(updatedObserver); manualControl.addUpdatedObserver(updatedObserver);
@ -63,9 +63,7 @@ public class Controller extends ObjectManagerActivity {
public void run() { public void run() {
uavobjHandler.post(new Runnable() { uavobjHandler.post(new Runnable() {
@Override @Override
public void run() { public void run() {
//DualJoystickView joystick = (DualJoystickView) findViewById(R.id.dualjoystickView);
UAVObject gcsReceiver = objMngr.getObject("GCSReceiver"); UAVObject gcsReceiver = objMngr.getObject("GCSReceiver");
if (gcsReceiver == null) { if (gcsReceiver == null) {
Log.e(TAG, "No GCS Receiver object found"); Log.e(TAG, "No GCS Receiver object found");