Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hotplate-toolchanger
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
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jake Read
hotplate-toolchanger
Commits
ec3fbb66
Commit
ec3fbb66
authored
3 years ago
by
Jake Read
Browse files
Options
Downloads
Patches
Plain Diff
wipe d21 sub
parent
22f6446c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitmodules
+0
-0
0 additions, 0 deletions
.gitmodules
firmware/blade-plate-head/src/main.cpp
+3
-3
3 additions, 3 deletions
firmware/blade-plate-head/src/main.cpp
with
3 additions
and
3 deletions
.gitmodules
0 → 100644
+
0
−
0
View file @
ec3fbb66
This diff is collapsed.
Click to expand it.
firmware/blade-plate-head/src/main.cpp
+
3
−
3
View file @
ec3fbb66
...
...
@@ -17,7 +17,7 @@ EP_ONDATA_RESPONSES onServoPositionData(uint8_t* data, uint16_t len){
return
EP_ONDATA_ACCEPT
;
}
vertex
_t
*
servoPositionEP
=
osapBuildEndpoint
(
"servo current"
,
onServoPositionData
,
nullptr
);
endpoint
_t
*
servoPositionEP
=
osapBuildEndpoint
(
"servo current"
,
onServoPositionData
);
void
setup
()
{
CLKLIGHT_SETUP
;
...
...
@@ -26,13 +26,13 @@ void setup() {
// the servo driver
servo_setup
();
// osap setup...
osapSetup
();
osapSetup
(
"bladePlateHead"
);
vt_usbSerial_setup
();
osapAddVertex
(
vt_usbSerial
);
vt_ucBusDrop_setup
(
false
,
5
);
osapAddVertex
(
vt_ucBusDrop
);
// demo endpoint (?)
osapAdd
Vertex
(
servoPositionEP
);
osapAdd
Endpoint
(
servoPositionEP
);
}
#define CLK_TICK 125
...
...
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