BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mangoh-drivers
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
mangoh-drivers
Commits
43cfe34b
Commit
43cfe34b
authored
May 15, 2018
by
David Clark
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added BME680 driver source
parent
354e27dd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
BME680_driver
linux_kernel_modules/bme680/BME680_driver
+1
-0
bme680-i2c.c
linux_kernel_modules/bme680/bme680-i2c.c
+0
-7
No files found.
BME680_driver
@
b619094d
Subproject commit b619094dfe507034e1034884f4638a78dae7646c
linux_kernel_modules/bme680/bme680-i2c.c
View file @
43cfe34b
...
...
@@ -223,7 +223,6 @@ static int bme680_i2c_probe(struct i2c_client *client,
int
ret
;
struct
iio_dev
*
indio_dev
;
struct
bme680_data
*
data
;
u16
desired_settings
=
UINT16_C
(
65535
);
u8
set_required_settings
;
dev_info
(
&
client
->
dev
,
"%s(): probe chip ID(0x%lx)
\n
"
,
__func__
,
id
->
driver_data
);
...
...
@@ -281,12 +280,6 @@ static int bme680_i2c_probe(struct i2c_client *client,
goto
exit
;
}
ret
=
bme680_get_sensor_settings
(
desired_settings
,
&
data
->
bme680_dev
);
if
(
ret
)
{
dev_err
(
&
client
->
dev
,
"%s(): Error bme680_get_sensor_settings() failed(%d)
\n
"
,
__func__
,
ret
);
goto
exit
;
}
/* Set the temperature, pressure and humidity settings */
data
->
bme680_dev
.
tph_sett
.
os_hum
=
BME680_OS_2X
;
data
->
bme680_dev
.
tph_sett
.
os_pres
=
BME680_OS_4X
;
...
...
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