[fix][lhal/config] remove duplicate check

This commit is contained in:
sakumisu 2023-02-26 17:45:06 +08:00 committed by GitHub
parent c75ba0cf84
commit 8869beb84c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@
struct bflb_device_s bl808_device_table[] = {
{ .name = "adc",
.reg_base = AON_BASE,
#if defined(CPU_M0) || defined(CPU_LP) || defined(CPU_LP)
#if defined(CPU_M0) || defined(CPU_LP)
.irq_num = BL808_IRQ_GPADC_DMA,
#else
.irq_num = 0xff,
@ -527,4 +527,4 @@ struct bflb_device_s *bflb_device_get_by_id(uint8_t type, uint8_t idx)
void bflb_device_set_userdata(struct bflb_device_s *device, void *user_data)
{
device->user_data = user_data;
}
}