mirror of https://github.com/ARMmbed/mbed-os.git
Apollo3 and artemis, remove dead code and include relevant header
parent
e97ebc033a
commit
c2bddbbc57
|
|
@ -174,8 +174,6 @@ void gpio_irq_disable(gpio_irq_t *obj)
|
||||||
/**@}*/
|
/**@}*/
|
||||||
uint32_t ap3_gpio_enable_interrupts(uint32_t ui32Pin, am_hal_gpio_intdir_e eIntDir)
|
uint32_t ap3_gpio_enable_interrupts(uint32_t ui32Pin, am_hal_gpio_intdir_e eIntDir)
|
||||||
{
|
{
|
||||||
//GPConfigReg_t GPCfgMask = {.bit.INCFG = 1, .bit.INTD = 1};
|
|
||||||
// uint32_t ap3_hal_gpio_pinconfig_partial(ui32Pin, bfGpioCfg, 0, uint8_t GPCfgMask, 0);
|
|
||||||
uint32_t ui32Padreg, ui32AltPadCfg, ui32GPCfg;
|
uint32_t ui32Padreg, ui32AltPadCfg, ui32GPCfg;
|
||||||
bool bClearEnable = false;
|
bool bClearEnable = false;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
#include "mbed_assert.h"
|
#include "mbed_assert.h"
|
||||||
#include "pinmap.h"
|
#include "pinmap.h"
|
||||||
#include "mbed_error.h"
|
#include "mbed_error.h"
|
||||||
|
#include "mbed_critical.h"
|
||||||
#include "extensions.h"
|
#include "extensions.h"
|
||||||
#include "am_mcu_apollo.h"
|
#include "am_mcu_apollo.h"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue