Skip to content

Commit c2bddbb

Browse files
committed
Apollo3 and artemis, remove dead code and include relevant header
1 parent e97ebc0 commit c2bddbb

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

targets/TARGET_Ambiq_Micro/TARGET_Apollo3/device/gpio_irq_api.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,6 @@ void gpio_irq_disable(gpio_irq_t *obj)
174174
/**@}*/
175175
uint32_t ap3_gpio_enable_interrupts(uint32_t ui32Pin, am_hal_gpio_intdir_e eIntDir)
176176
{
177-
//GPConfigReg_t GPCfgMask = {.bit.INCFG = 1, .bit.INTD = 1};
178-
// uint32_t ap3_hal_gpio_pinconfig_partial(ui32Pin, bfGpioCfg, 0, uint8_t GPCfgMask, 0);
179177
uint32_t ui32Padreg, ui32AltPadCfg, ui32GPCfg;
180178
bool bClearEnable = false;
181179

targets/TARGET_Ambiq_Micro/TARGET_Apollo3/device/pinmap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include "mbed_assert.h"
2525
#include "pinmap.h"
2626
#include "mbed_error.h"
27-
27+
#include "mbed_critical.h"
2828
#include "extensions.h"
2929
#include "am_mcu_apollo.h"
3030

0 commit comments

Comments
 (0)