Skip to content

Commit

Permalink
l3gd20: split into separate header, implementation, and main
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar authored Dec 27, 2019
1 parent 30a7341 commit e189733
Show file tree
Hide file tree
Showing 5 changed files with 950 additions and 937 deletions.
9 changes: 6 additions & 3 deletions src/drivers/imu/l3gd20/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
############################################################################
#
# Copyright (c) 2015 PX4 Development Team. All rights reserved.
# Copyright (c) 2015-2019 PX4 Development Team. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
Expand Down Expand Up @@ -31,12 +31,15 @@
#
############################################################################
px4_add_module(
MODULE drivers__l3gd20
MODULE drivers__imu__l3gd20
MAIN l3gd20
COMPILE_FLAGS
-Wno-cast-align # TODO: fix and enable
SRCS
l3gd20.cpp
L3GD20.hpp
L3GD20.cpp
l3gd20_main.cpp
DEPENDS
drivers_gyroscope
px4_work_queue
)
Loading

0 comments on commit e189733

Please sign in to comment.