From 3d6c1690c90736ba348e772cc736a07fa4b678c3 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Sat, 18 Aug 2018 15:09:35 -0400 Subject: [PATCH] pwm_input cleanup unnecessary Device CDev usage --- src/drivers/pwm_input/pwm_input.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/pwm_input/pwm_input.cpp b/src/drivers/pwm_input/pwm_input.cpp index 052d3f02a9..953689a822 100644 --- a/src/drivers/pwm_input/pwm_input.cpp +++ b/src/drivers/pwm_input/pwm_input.cpp @@ -225,7 +225,7 @@ #define TIMEOUT_POLL 300000 /* reset after no response over this time in microseconds [0.3s] */ #define TIMEOUT_READ 200000 /* don't reset if the last read is back more than this time in microseconds [0.2s] */ -class PWMIN : device::CDev +class PWMIN : cdev::CDev { public: PWMIN(); @@ -271,7 +271,7 @@ static void pwmin_usage(void); static PWMIN *g_dev; PWMIN::PWMIN() : - CDev("pwmin", PWMIN0_DEVICE_PATH), + CDev(PWMIN0_DEVICE_PATH), _error_count(0), _pulses_captured(0), _last_period(0),