Fixed typo usb_vaild -> usb_valid

This commit is contained in:
David Sidrane
2017-09-29 09:21:13 -10:00
parent 9ce3412a93
commit a9bd3aeb85
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -432,10 +432,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
/* The valid signals (HW dependent) are associated with each brick */