summaryrefslogtreecommitdiff
path: root/xmake/rules/c51/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/rules/c51/xmake.lua')
-rw-r--r--xmake/rules/c51/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c51/xmake.lua b/xmake/rules/c51/xmake.lua
index 0e4555753..bf6c7efde 100644
--- a/xmake/rules/c51/xmake.lua
+++ b/xmake/rules/c51/xmake.lua
@@ -35,7 +35,7 @@ rule("c51.binary")
import("core.project.depend")
import("lib.detect.find_tool")
import("utils.progress")
- depend._on_changed(function()
+ depend.on_changed(function()
local oh = assert(find_tool("oh51"), "oh51 not found")
os.iorunv(oh.program, {target:targetfile()})
progress.show(opt.progress, "${color.build.target}generating.$(mode) %s", target:targetfile() .. ".hex")