// signal
double s1,s2;
- samples[0]=-200.0;
- samples[display_width-1]=-200.0;
int offset=(tx->pixels/2)-(display_width/2);
+ samples[offset]=-200.0;
+ samples[offset+display_width-1]=-200.0;
- s1=(double)samples[0+offset];
+ s1=(double)samples[offset];
s1 = floor((tx->panadapter_high - s1)
* (double) display_height
/ (tx->panadapter_high - tx->panadapter_low));
char build_version[]=GIT_VERSION;
#if defined (CONTROLLER2_V1)
-char version[]="2.0.6-beta (Controller2 V1)";
+char version[]="2.0.7-beta (Controller2 V1)";
#elif defined (CONTROLLER2_V2)
-char version[]="2.0.6-beta (Controller2 V2)";
+char version[]="2.0.7-beta (Controller2 V2)";
#elif defined (GPIO)
-char version[]="2.0.6-beta (Controller1)";
+char version[]="2.0.7-beta (Controller1)";
#else
-char version[]="2.0.6-beta";
+char version[]="2.0.7-beta";
#endif