mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 15:53:34 +08:00
HMC5883 post merge cleanup
This commit is contained in:
@@ -1266,7 +1266,7 @@ int calibrate(int bus);
|
||||
* Start the driver.
|
||||
*/
|
||||
void
|
||||
start(enum Rotation rotation)
|
||||
start(int bus, enum Rotation rotation)
|
||||
{
|
||||
int fd;
|
||||
|
||||
@@ -1528,6 +1528,7 @@ int
|
||||
hmc5883_main(int argc, char *argv[])
|
||||
{
|
||||
int ch;
|
||||
int bus = -1;
|
||||
enum Rotation rotation = ROTATION_NONE;
|
||||
bool calibrate = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user