web server unexpected operation

I am so confused.

I have this working in another sketch, now porting to the real end application. I call the function
print_samples() on line 307 but it is never entered and no error from compiler.

I moved the definition all around
a. between setup() and loop()
b. at the end of loop()

never actually gets called.

cut down storage a lot.
Sketch uses 20,576 bytes (8%) of program storage space. Maximum is 253,952 bytes.
Global variables use 1,869 bytes (22%) of dynamic memory, leaving 6,323 bytes for local variables. Maximum is 8,192 bytes.

still never actually gets called.

what is keeping the function from getting executed?

thanks,
tim

temp_sketch_mega_8_11_2016_with_optimized_packets_and_RPM.ino.ino (16.4 KB)