Skip to content

Commit 19b1646

Browse files
Remove some unused code
1 parent 98417ea commit 19b1646

File tree

1 file changed

+0
-30
lines changed
  • targets/TARGET_Ambiq_Micro/TARGET_Apollo3/device

1 file changed

+0
-30
lines changed

targets/TARGET_Ambiq_Micro/TARGET_Apollo3/device/serial_api.c

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -360,21 +360,6 @@ void serial_pinout_tx(PinName tx)
360360
MBED_ASSERT(0);
361361
}
362362

363-
#if DEVICE_SERIAL_FC
364-
365-
void serial_set_flow_control(serial_t *obj, FlowControl type, PinName rxflow, PinName txflow)
366-
{
367-
// todo:
368-
MBED_ASSERT(0);
369-
}
370-
371-
void serial_set_flow_control_direct(serial_t *obj, FlowControl type, const serial_fc_pinmap_t *pinmap)
372-
{
373-
// todo:
374-
MBED_ASSERT(0);
375-
}
376-
#endif
377-
378363
const PinMap *serial_tx_pinmap(void)
379364
{
380365
return PinMap_UART_TX;
@@ -385,21 +370,6 @@ const PinMap *serial_rx_pinmap(void)
385370
return PinMap_UART_RX;
386371
}
387372

388-
#if DEVICE_SERIAL_FC
389-
390-
const PinMap *serial_cts_pinmap(void)
391-
{
392-
return PinMap_UART_CTS;
393-
}
394-
395-
const PinMap *serial_rts_pinmap(void)
396-
{
397-
return PinMap_UART_RTS;
398-
}
399-
#endif
400-
401-
static volatile uint32_t foo = 0;
402-
403373
static inline void uart_irq(uint32_t instance)
404374
{
405375
void *handle = ap3_uart_control[instance].handle;

0 commit comments

Comments
 (0)