Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
usb_i2c_adapter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
labrobotica
drivers
usb_i2c_adapter
Commits
7ae909df
Commit
7ae909df
authored
14 years ago
by
Sergi Hernandez
Browse files
Options
Downloads
Patches
Plain Diff
Added an include for the memcpy function (string.h)
Fixed cmake find script.
parent
3ab6b557
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Findusb_i2c_adapter.cmake
+1
-1
1 addition, 1 deletion
Findusb_i2c_adapter.cmake
src/usb_i2c.cpp
+1
-0
1 addition, 0 deletions
src/usb_i2c.cpp
with
2 additions
and
1 deletion
Findusb_i2c_adapter.cmake
+
1
−
1
View file @
7ae909df
#edit the following line to add the librarie's header files
#edit the following line to add the librarie's header files
FIND_PATH
(
usb_i2c_adapter_INCLUDE_DIR
<your own header files>
/usr/include/iridrivers /usr/local/include/iridrivers
)
FIND_PATH
(
usb_i2c_adapter_INCLUDE_DIR
usb_i2c.h
/usr/include/iridrivers /usr/local/include/iridrivers
)
FIND_LIBRARY
(
usb_i2c_adapter_LIBRARY
FIND_LIBRARY
(
usb_i2c_adapter_LIBRARY
NAMES usb_i2c_adapter
NAMES usb_i2c_adapter
...
...
This diff is collapsed.
Click to expand it.
src/usb_i2c.cpp
+
1
−
0
View file @
7ae909df
#include
"usb_i2c.h"
#include
"usb_i2c.h"
#include
"eventexceptions.h"
#include
"eventexceptions.h"
#include
"string.h"
CUSBI2C
::
CUSBI2C
(
const
std
::
string
&
adapter_id
)
CUSBI2C
::
CUSBI2C
(
const
std
::
string
&
adapter_id
)
{
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment