diff options
| author | Aubr.Cool <[email protected]> | 2016-09-21 10:48:21 +0800 |
|---|---|---|
| committer | Aubr.Cool <[email protected]> | 2016-09-21 10:48:21 +0800 |
| commit | e0b371edfd40394dad61cee08c50ba4e0deb6758 (patch) | |
| tree | 705f3c6e95fbb91f1f649ac0f2bb863498782f1d | |
| parent | 27c7ed3501c31da4140c53c84685b372a515ae77 (diff) | |
[BSP] LPC408X Delete compiler c99 mode
| -rw-r--r-- | bsp/lpc408x/applications/canapp.c | 12 | ||||
| -rw-r--r-- | bsp/lpc408x/project.uvprojx | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/bsp/lpc408x/applications/canapp.c b/bsp/lpc408x/applications/canapp.c index 75be9b16c1..59250380f8 100644 --- a/bsp/lpc408x/applications/canapp.c +++ b/bsp/lpc408x/applications/canapp.c @@ -34,15 +34,15 @@ struct rt_can_filter_item filter1item[4] = }; struct rt_can_filter_config filter1 = { - .count = 4, - .actived = 1, - .items = filter1item, + 4, + 1, + filter1item, }; static struct can_app_struct can_data[1] = { { - .name = "lpccan1", - .filter = &filter1, - .eventopt = RT_EVENT_FLAG_OR | RT_EVENT_FLAG_CLEAR, + "lpccan1", + &filter1, + RT_EVENT_FLAG_OR | RT_EVENT_FLAG_CLEAR, }, }; static rt_err_t lpccanind(rt_device_t dev, rt_size_t size) diff --git a/bsp/lpc408x/project.uvprojx b/bsp/lpc408x/project.uvprojx index c5f481a937..369c0d6a97 100644 --- a/bsp/lpc408x/project.uvprojx +++ b/bsp/lpc408x/project.uvprojx @@ -361,7 +361,7 @@ <wLevel>0</wLevel> <uThumb>0</uThumb> <uSurpInc>0</uSurpInc> - <uC99>1</uC99> + <uC99>0</uC99> <useXO>0</useXO> <v6Lang>0</v6Lang> <v6LangP>0</v6LangP> |
