mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 02:03:34 +08:00
Merge remote-tracking branch 'upstream/master' into hott
This commit is contained in:
@@ -1427,15 +1427,12 @@ static void adc_shutdown(FAR struct adc_dev_s *dev)
|
||||
/* power down ADC */
|
||||
adc_enable(priv, false);
|
||||
|
||||
adc_rxint(priv, false);
|
||||
adc_rxint(dev, false);
|
||||
|
||||
/* Disable ADC interrupts and detach the ADC interrupt handler */
|
||||
up_disable_irq(priv->irq);
|
||||
// irq_detach(priv->irq);
|
||||
|
||||
|
||||
|
||||
|
||||
// XXX Why is irq_detach here commented out?
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
@@ -54,6 +54,7 @@ CONFIGURED_APPS += systemcmds/mixer
|
||||
CONFIGURED_APPS += systemcmds/eeprom
|
||||
CONFIGURED_APPS += systemcmds/param
|
||||
CONFIGURED_APPS += systemcmds/bl_update
|
||||
CONFIGURED_APPS += systemcmds/preflight_check
|
||||
#CONFIGURED_APPS += systemcmds/calibration
|
||||
|
||||
# Tutorial code from
|
||||
|
||||
@@ -400,6 +400,7 @@ int files_allocate(FAR struct inode *inode, int oflags, off_t pos, int minfd)
|
||||
list->fl_files[i].f_oflags = oflags;
|
||||
list->fl_files[i].f_pos = pos;
|
||||
list->fl_files[i].f_inode = inode;
|
||||
list->fl_files[i].f_priv = NULL;
|
||||
_files_semgive(list);
|
||||
return i;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user