mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-05 04:19:46 +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,
|
||||
.dev_type = BFLB_DEVICE_TYPE_CKS,
|
||||
.user_data = NULL },
|
||||
#if defined(CPU_D0)
|
||||
{ .name = "mjpeg",
|
||||
.reg_base = MJPEG_BASE,
|
||||
.irq_num = BL808_IRQ_MJPEG,
|
||||
|
@ -198,6 +199,7 @@ struct bflb_device_s bl808_device_table[] = {
|
|||
.sub_idx = 0,
|
||||
.dev_type = BFLB_DEVICE_TYPE_MJPEG,
|
||||
.user_data = NULL },
|
||||
#endif
|
||||
};
|
||||
|
||||
struct bflb_device_s *bflb_device_get_by_name(const char *name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue