Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
re860_factory
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
waterword
re860_factory
Commits
299d42e1
Commit
299d42e1
authored
Sep 29, 2025
by
lyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改测试硬件RTC节点
parent
96a20b0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
factoryTest_plugin/factory_testRtc.js
factoryTest_plugin/factory_testRtc.js
+7
-1
No files found.
factoryTest_plugin/factory_testRtc.js
View file @
299d42e1
...
...
@@ -102,7 +102,13 @@ function checkAutoFactory() {
}
function
getRtcTime
()
{
system
(
"
hwclock > /tmp/hwRtc.txt
"
);
// hwclock -f /dev/rtc1
// /dev/rtc1
var
partFilePath
=
"
../../../../../dev/rtc1
"
;
if
(
!
fs
.
exists
(
partFilePath
))
{
return
"
NA
"
;
}
system
(
"
hwclock -f /dev/rtc1 > /tmp/hwRtc.txt
"
);
const
coresStr
=
fs
.
read
(
"
/tmp/hwRtc.txt
"
,
"
r
"
);
if
(
coresStr
)
{
return
coresStr
.
split
(
'
\n
'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment