Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Commit

Permalink
✨ feat(csp-coder): 允许生成空代码
Browse files Browse the repository at this point in the history
Signed-off-by: xqyjlj <xqyjlj@126.com>
  • Loading branch information
xqyjlj committed Jan 18, 2024
1 parent 20bae43 commit a2383b1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tools/scripts/tasks/csp-coder/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ function _generate(proj, outputdir, repositories_dir)
local name = proj.core.target
local modules = proj.core.modules
local coder = find_coder(hal, name, repositories_dir)
assert(#modules > 0, "modules is empty")
modules = table.unique(modules)
for _, kind in ipairs(modules) do
_generate_h(proj, coder, kind, outputdir)
Expand Down

0 comments on commit a2383b1

Please sign in to comment.