diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-11 20:56:40 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-11 20:56:40 +0100 |
commit | 6011ff9411ca64eb857d456a6ac2de2db07800c3 (patch) | |
tree | a41298916d6de938ee21558e55ff0c75d09c68dc /src/drivers/hil | |
parent | 7e3802297c11e68279d092409f826013882177ef (diff) | |
download | px4-firmware-6011ff9411ca64eb857d456a6ac2de2db07800c3.tar.gz px4-firmware-6011ff9411ca64eb857d456a6ac2de2db07800c3.tar.bz2 px4-firmware-6011ff9411ca64eb857d456a6ac2de2db07800c3.zip |
HIL cleanup
Diffstat (limited to 'src/drivers/hil')
-rw-r--r-- | src/drivers/hil/hil.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/drivers/hil/hil.cpp b/src/drivers/hil/hil.cpp index c1d73dd87..0a047f38f 100644 --- a/src/drivers/hil/hil.cpp +++ b/src/drivers/hil/hil.cpp @@ -1,6 +1,6 @@ /**************************************************************************** * - * Copyright (C) 2012 PX4 Development Team. All rights reserved. + * Copyright (c) 2012-2014 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -193,9 +193,10 @@ HIL::~HIL() } while (_task != -1); } - /* clean up the alternate device node */ - if (_primary_pwm_device) - unregister_driver(PWM_OUTPUT_DEVICE_PATH); + // XXX already claimed with CDEV + // /* clean up the alternate device node */ + // if (_primary_pwm_device) + // unregister_driver(PWM_OUTPUT_DEVICE_PATH); g_hil = nullptr; } |