Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jake Read
ucbus-stepper
Commits
baf73a77
Commit
baf73a77
authored
Oct 14, 2020
by
Jake Read
Browse files
might be it
parent
e61c79df
Changes
2
Hide whitespace changes
Inline
Side-by-side
firmware/cl-step-controller/src/drivers/step_cl.cpp
View file @
baf73a77
...
...
@@ -90,6 +90,8 @@ void flash_write_value(float val){
if
(
bfi
>=
FLOATS_PER_BLOCK
){
flash_write_page
();
bfi
=
0
;
bli
++
;
block_ptr
=
((
const
uint8_t
*
)(
&
(
lut
[
bli
*
FLOATS_PER_BLOCK
])));
}
}
...
...
@@ -105,7 +107,7 @@ void Step_CL::print_table(void){
// the calib routine
boolean
Step_CL
::
calibrate
(
void
){
flash_write_init
();
for
(
uint32_t
i
=
0
;
i
<
FLOATS_PER_BLOCK
;
i
++
){
for
(
uint32_t
i
=
0
;
i
<
ENCODER_COUNTS
;
i
++
){
flash_write_value
(
i
*
1.1
F
);
}
return
true
;
...
...
log/cl-step-control-log.md
View file @
baf73a77
...
...
@@ -899,5 +899,7 @@ OK this is crazy, I have every fn in the class commented out, and the thing stil
So, tried my way around that, I have honestly no idea what is going on here. I'm going to try writing from the base class again.
OK, did that and seems like I'm writing into the thing.
-
neil suggests watching the power rails, flash req
-
nuclear option is asking neil to chat w/ microchip contacts
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment