diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-02-13 09:10:32 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-02-13 09:13:23 +0100 |
commit | f0ad98c92c3fa063004f241d590bb96f6be16895 (patch) | |
tree | 0ecabb2fba85660c57bbd28ce190aada4e9f0a69 /src/drivers/rgbled/rgbled.cpp | |
parent | 113b0ab51bddcf98931e663f7d9a0acb0c1c39b3 (diff) | |
download | px4-firmware-f0ad98c92c3fa063004f241d590bb96f6be16895.tar.gz px4-firmware-f0ad98c92c3fa063004f241d590bb96f6be16895.tar.bz2 px4-firmware-f0ad98c92c3fa063004f241d590bb96f6be16895.zip |
RGB led: Code style and comment on bus speed
Diffstat (limited to 'src/drivers/rgbled/rgbled.cpp')
-rw-r--r-- | src/drivers/rgbled/rgbled.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/drivers/rgbled/rgbled.cpp b/src/drivers/rgbled/rgbled.cpp index 0cbd21f57..cce38368a 100644 --- a/src/drivers/rgbled/rgbled.cpp +++ b/src/drivers/rgbled/rgbled.cpp @@ -1,8 +1,6 @@ /**************************************************************************** * - * Copyright (C) 2012, 2013 PX4 Development Team. All rights reserved. - * Author: Julian Oes <joes@student.ethz.ch> - * Anton Babushkin <anton.babushkin@me.com> + * Copyright (c) 2012-2015 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 @@ -38,6 +36,8 @@ * * Driver for the onboard RGB LED controller (TCA62724FMG) connected via I2C. * + * @author Julian Oes <julian@px4.io> + * @author Anton Babushkin <anton.babushkin@me.com> */ #include <nuttx/config.h> @@ -129,7 +129,7 @@ void rgbled_usage(); extern "C" __EXPORT int rgbled_main(int argc, char *argv[]); RGBLED::RGBLED(int bus, int rgbled) : - I2C("rgbled", RGBLED0_DEVICE_PATH, bus, rgbled, 100000), + I2C("rgbled", RGBLED0_DEVICE_PATH, bus, rgbled, 100000 /* maximum speed supported */), _mode(RGBLED_MODE_OFF), _r(0), _g(0), |