Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
bsdutils
bsdisks
Commits
4194977fc851
Commit
6893071d
authored
Jul 18, 2020
by
Gleb Popov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mark mmcsd drives as removable/ejectable.
parent
6886a04a6a1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
camcontrolprober.cpp
camcontrolprober.cpp
+1
-1
No files found.
camcontrolprober.cpp
View file @
4194977f
...
...
@@ -41,7 +41,7 @@ void CamControlProber::run()
int
error
=
camcontrol
(
m_dev
.
toLocal8Bit
().
data
(),
&
ret
);
if
(
m_dev
.
startsWith
(
"cd"
))
if
(
m_dev
.
startsWith
(
"cd"
)
||
m_dev
.
startsWith
(
"mmcsd"
)
)
ret
.
is_removable
=
1
;
if
(
error
)
...
...
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