![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
BaseUsbHost example program
Dependencies: BaseUsbHost FATFileSystem mbed mbed-rtos
Diff: LogitechC270/LogitechC270.h
- Revision:
- 3:6ae9a03a6145
- Parent:
- 1:80205a2de336
--- a/LogitechC270/LogitechC270.h Tue Dec 11 15:28:00 2012 +0000 +++ b/LogitechC270/LogitechC270.h Sun Jan 06 11:47:51 2013 +0000 @@ -1,6 +1,5 @@ -// LogitechC270.h 2012/12/5 -#ifndef LOGITECH_C270_H -#define LOGITECH_C270_H +// LogitechC270.h 2013/1/6 +#pragma once #define C270_VID 0x046d #define C270_PID 0x0825 @@ -27,7 +26,6 @@ class LogitechC270 : public BaseUvc { public: - LogitechC270(int frameIndex = C270_160x120, uint32_t interval = _5FPS, ControlEp* ctlEp = NULL); + LogitechC270(int formatIndex = C270_MJPEG, int frameIndex = C270_160x120, uint32_t interval = _5FPS, ControlEp* ctlEp = NULL); static bool check(ControlEp* ctlEp); }; -#endif //LOGITECH_C270_H