Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Julian Bouzas
WirePlumber
Commits
b46a907d
Commit
b46a907d
authored
May 10, 2021
by
Julian Bouzas
Browse files
create-item.lua: always enable monitor ports by default
parent
3f60716f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scripts/create-item.lua
View file @
b46a907d
...
...
@@ -16,6 +16,7 @@ function addItem (node, item_type)
-- configure item
if
not
items
[
id
]:
configure
{
[
"node"
]
=
node
,
[
"enable.monitor"
]
=
true
,
[
"item.plugged.usec"
]
=
GLib
.
get_monotonic_time
(),
}
then
Log
.
warning
(
items
[
id
],
"failed to configure item for node "
..
tostring
(
id
))
...
...
Write
Preview
Supports
Markdown
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