Some cosmetics

This commit is contained in:
Holger Vogt 2024-10-05 20:05:54 +02:00
parent bafa3ff8a3
commit b350786c48
1 changed files with 21 additions and 47 deletions

View File

@ -9,7 +9,6 @@ Georgia Tech Research Corporation
Atlanta, Georgia 30332 Atlanta, Georgia 30332
PROJECT A-8503-405 PROJECT A-8503-405
AUTHORS AUTHORS
19 June 1992 Jeffrey P. Murray 19 June 1992 Jeffrey P. Murray
@ -19,7 +18,7 @@ MODIFICATIONS
19 June 1992 Jeffrey P. Murray 19 June 1992 Jeffrey P. Murray
22 October 2022 Holger Vogt 22 October 2022 Holger Vogt
05 October 2024 Holger Vogt
SUMMARY SUMMARY
@ -38,7 +37,6 @@ REFERENCED FILES
Inputs from and outputs to ARGS structure. Inputs from and outputs to ARGS structure.
NON-STANDARD FEATURES NON-STANDARD FEATURES
NONE NONE
@ -49,31 +47,19 @@ NON-STANDARD FEATURES
#include <math.h> #include <math.h>
/*=== CONSTANTS ========================*/ /*=== CONSTANTS ========================*/
/*=== MACROS ===========================*/ /*=== MACROS ===========================*/
/*=== LOCAL VARIABLES & TYPEDEFS =======*/ /*=== LOCAL VARIABLES & TYPEDEFS =======*/
/*=== FUNCTION PROTOTYPE DEFINITIONS ===*/ /*=== FUNCTION PROTOTYPE DEFINITIONS ===*/
/*============================================================================== /*==============================================================================
FUNCTION cm_potentiometer() FUNCTION cm_potentiometer()
@ -123,12 +109,8 @@ void cm_potentiometer (ARGS)
double vr1; /* voltage at r1 */ double vr1; /* voltage at r1 */
double vwiper; /* voltage at wiper */ double vwiper; /* voltage at wiper */
Mif_Complex_t ac_gain; Mif_Complex_t ac_gain;
/* Retrieve frequently used parameters... */ /* Retrieve frequently used parameters... */
position = PARAM(position); position = PARAM(position);
@ -164,10 +146,6 @@ void cm_potentiometer (ARGS)
} }
/* Output DC & Transient Values */ /* Output DC & Transient Values */
if(ANALYSIS != MIF_AC) { if(ANALYSIS != MIF_AC) {
@ -224,7 +202,3 @@ void cm_potentiometer (ARGS)
} }
} }