From bed4714cfe3fe43c785236a9db625014c7781f31 Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Wed, 4 Oct 2017 08:05:18 -1000 Subject: [PATCH] kinetis:adc fix typo vailid->valid (#8054) Fix typo on master --- src/drivers/kinetis/adc/adc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/kinetis/adc/adc.cpp b/src/drivers/kinetis/adc/adc.cpp index 73f2d16d4d..a16d1222d2 100644 --- a/src/drivers/kinetis/adc/adc.cpp +++ b/src/drivers/kinetis/adc/adc.cpp @@ -392,10 +392,10 @@ ADC::update_system_power(hrt_abstime now) system_power.usb_connected = BOARD_ADC_USB_CONNECTED; /* If provided used the Valid signal from HW*/ #if defined(BOARD_ADC_USB_VALID) - system_power.usb_vaild = BOARD_ADC_USB_VALID; + system_power.usb_valid = BOARD_ADC_USB_VALID; #else /* If not provided then use connected */ - system_power.usb_vaild = system_power.usb_connected; + system_power.usb_valid = system_power.usb_connected; #endif system_power.brick_valid = BOARD_ADC_BRICK_VALID;