mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-06 12:58:45 +00:00
[fix][lhal/config] remove duplicate check
This commit is contained in:
parent
c75ba0cf84
commit
8869beb84c
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
||||||
struct bflb_device_s bl808_device_table[] = {
|
struct bflb_device_s bl808_device_table[] = {
|
||||||
{ .name = "adc",
|
{ .name = "adc",
|
||||||
.reg_base = AON_BASE,
|
.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,
|
.irq_num = BL808_IRQ_GPADC_DMA,
|
||||||
#else
|
#else
|
||||||
.irq_num = 0xff,
|
.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)
|
void bflb_device_set_userdata(struct bflb_device_s *device, void *user_data)
|
||||||
{
|
{
|
||||||
device->user_data = user_data;
|
device->user_data = user_data;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue