mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-05 12:28:45 +00:00
Add MJPEG to device table only for D0 core
This commit is contained in:
parent
bb5b89aa70
commit
b46115f175
1 changed files with 2 additions and 0 deletions
|
@ -191,6 +191,7 @@ struct bflb_device_s bl808_device_table[] = {
|
||||||
.sub_idx = 0,
|
.sub_idx = 0,
|
||||||
.dev_type = BFLB_DEVICE_TYPE_CKS,
|
.dev_type = BFLB_DEVICE_TYPE_CKS,
|
||||||
.user_data = NULL },
|
.user_data = NULL },
|
||||||
|
#if defined(CPU_D0)
|
||||||
{ .name = "mjpeg",
|
{ .name = "mjpeg",
|
||||||
.reg_base = MJPEG_BASE,
|
.reg_base = MJPEG_BASE,
|
||||||
.irq_num = BL808_IRQ_MJPEG,
|
.irq_num = BL808_IRQ_MJPEG,
|
||||||
|
@ -198,6 +199,7 @@ struct bflb_device_s bl808_device_table[] = {
|
||||||
.sub_idx = 0,
|
.sub_idx = 0,
|
||||||
.dev_type = BFLB_DEVICE_TYPE_MJPEG,
|
.dev_type = BFLB_DEVICE_TYPE_MJPEG,
|
||||||
.user_data = NULL },
|
.user_data = NULL },
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
struct bflb_device_s *bflb_device_get_by_name(const char *name)
|
struct bflb_device_s *bflb_device_get_by_name(const char *name)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue