Commit baf73a77 authored by Jake Read's avatar Jake Read
Browse files

might be it

parent e61c79df
......@@ -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.1F);
}
return true;
......
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment