kinetis:adc fix typo vailid->valid (#8054)

Fix typo on master
This commit is contained in:
David Sidrane 2017-10-04 08:05:18 -10:00 committed by GitHub
parent 86389930be
commit bed4714cfe
1 changed files with 2 additions and 2 deletions

View File

@ -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;