Jared Baxter
/
Impedance_Fast_Circuitry
Impedance Fast Circuitry Software
Fork of DSP_200kHz by
Diff: Jareds_DSP/print_data.cpp
- Revision:
- 81:30d699e951a8
- Parent:
- 78:10b2916b8f5c
- Child:
- 83:0d068da1c6b7
--- a/Jareds_DSP/print_data.cpp Thu Aug 03 17:38:02 2017 +0000 +++ b/Jareds_DSP/print_data.cpp Wed Aug 30 00:02:06 2017 +0000 @@ -31,7 +31,10 @@ } void set_print_buffer(float mag,float phase, int print_identifier) { - + if(isnan(mag)||isinf(mag)||isnan(phase)||isinf(phase)) + { + return; + } if (printing_counter<printing_length) {