Another compiling error with 1129

This forum is dedicated to software development related to MultiWii.
It is not the right place to submit a setup problem.
Software download
Post Reply
claustro
Posts: 16
Joined: Sat Aug 11, 2012 11:35 am

Another compiling error with 1129

Post by claustro »

I am stuck , is anyone able to help me?

Code: Select all

MultiWii_2.1_r1129.cpp:2310:8: error: #if with no expression
MultiWii_2.1_r1129.cpp: In function 'void blinkLED(uint8_t, uint8_t, uint8_t)':
MultiWii_2.1_r1129.cpp:458: error: 'LEDPIN_TOGGLE' was not declared in this scope
MultiWii_2.1_r1129.cpp: In function 'void ChannelToOutput(uint8_t, uint8_t)':
MultiWii_2.1_r1129.cpp:518: error: 'BUZZERPIN_ON' was not declared in this scope
MultiWii_2.1_r1129.cpp:519: error: 'BUZZERPIN_OFF' was not declared in this scope
MultiWii_2.1_r1129.cpp:523: error: 'LEDPIN_ON' was not declared in this scope
MultiWii_2.1_r1129.cpp:524: error: 'LEDPIN_OFF' was not declared in this scope
MultiWii_2.1_r1129.cpp: In function 'void readEEPROM()':
MultiWii_2.1_r1129.cpp:701: error: 'conf' was not declared in this scope
MultiWii_2.1_r1129.cpp:703: error: 'lookupPitchRollRC' was not declared in this scope
MultiWii_2.1_r1129.cpp:710: error: 'lookupThrottleRC' was not declared in this scope
MultiWii_2.1_r1129.cpp:711: error: 'MINTHROTTLE' was not declared in this scope
MultiWii_2.1_r1129.cpp:711: error: 'MAXTHROTTLE' was not declared in this scope
MultiWii_2.1_r1129.cpp: In function 'void writeParams(uint8_t)':
MultiWii_2.1_r1129.cpp:745: error: 'conf' was not declared in this scope
MultiWii_2.1_r1129.cpp: In function 'void checkFirstTime()':
MultiWii_2.1_r1129.cpp:758: error: 'conf' was not declared in this scope
MultiWii_2.1_r1129.cpp:759: error: 'conf' was not declared in this scope
MultiWii_2.1_r1129.cpp:759: error: 'ROLL' was not declared in this scope
MultiWii_2.1_r1129.cpp:760: error: 'PITCH' was not declared in this scope
MultiWii_2.1_r1129.cpp:761: error: 'YAW' was not declared in this scope
MultiWii_2.1_r1129.cpp:762: error: 'PIDALT' was not declared in this scope
MultiWii_2.1_r1129.cpp:764: error: 'PIDPOS' was not declared in this scope
MultiWii_2.1_r1129.cpp:764: error: 'POSHOLD_P' was not declared in this scope
MultiWii_2.1_r1129.cpp:764: error: 'POSHOLD_I' was not declared in this scope
MultiWii_2.1_r1129.cpp:765: error: 'PIDPOSR' was not declared in this scope
MultiWii_2.1_r1129.cpp:765: error: 'POSHOLD_RATE_P' was not declared in this scope
MultiWii_2.1_r1129.cpp:765: error: 'POSHOLD_RATE_I' was not declared in this scope
MultiWii_2.1_r1129.cpp:765: error: 'POSHOLD_RATE_D' was not declared in this scope
MultiWii_2.1_r1129.cpp:766: error: 'PIDNAVR' was not declared in this scope
MultiWii_2.1_r1129.cpp:766: error: 'NAV_P' was not declared in this scope
MultiWii_2.1_r1129.cpp:766: error: 'NAV_I' was not declared in this scope
MultiWii_2.1_r1129.cpp:766: error: 'NAV_D' was not declared in this scope
MultiWii_2.1_r1129.cpp:768: error: 'PIDLEVEL' was not declared in this scope
MultiWii_2.1_r1129.cpp:769: error: 'PIDMAG' was not declared in this scope
MultiWii_2.1_r1129.cpp:771: error: 'PIDVEL' was not declared in this scope
MultiWii_2.1_r1129.cpp:778: error: 'CHECKBOXITEMS' was not declared in this scope
MultiWii_2.1_r1129.cpp: In function 'void computeIMU()':
MultiWii_2.1_r1129.cpp:2032: error: 'gyroADC' was not declared in this scope
MultiWii_2.1_r1129.cpp:2034: error: 'annexCode' was not declared in this scope
MultiWii_2.1_r1129.cpp:2036: error: 'annex650_overrun_count' was not declared in this scope
MultiWii_2.1_r1129.cpp:2044: error: 'gyroADC' was not declared in this scope
MultiWii_2.1_r1129.cpp:2046: error: 'gyroData' was not declared in this scope
MultiWii_2.1_r1129.cpp:2048: error: 'ACC' was not declared in this scope
MultiWii_2.1_r1129.cpp:2048: error: 'accADC' was not declared in this scope
MultiWii_2.1_r1129.cpp: In function 'void rotateV(fp_vector*, float*)':
MultiWii_2.1_r1129.cpp:2162: error: 'ROLL' was not declared in this scope
MultiWii_2.1_r1129.cpp:2162: error: 'PITCH' was not declared in this scope
MultiWii_2.1_r1129.cpp:2163: error: 'YAW' was not declared in this scope
MultiWii_2.1_r1129.cpp: In function 'void getEstimatedAttitude()':
MultiWii_2.1_r1129.cpp:2192: error: 'gyroADC' was not declared in this scope
MultiWii_2.1_r1129.cpp:2194: error: 'accADC' was not declared in this scope
MultiWii_2.1_r1129.cpp:2196: error: 'accSmooth' was not declared in this scope
MultiWii_2.1_r1129.cpp:2213: error: 'acc_1G' was not declared in this scope
MultiWii_2.1_r1129.cpp:2220: error: 'accSmooth' was not declared in this scope
MultiWii_2.1_r1129.cpp:2220: error: 'ROLL' was not declared in this scope
MultiWii_2.1_r1129.cpp:2220: error: 'acc_25deg' was not declared in this scope
MultiWii_2.1_r1129.cpp:2220: error: 'PITCH' was not declared in this scope
MultiWii_2.1_r1129.cpp:2220: error: 'YAW' was not declared in this scope
MultiWii_2.1_r1129.cpp:2221: error: 'f' was not declared in this scope
MultiWii_2.1_r1129.cpp:2223: error: 'f' was not declared in this scope
MultiWii_2.1_r1129.cpp:2229: error: 'f' was not declared in this scope
MultiWii_2.1_r1129.cpp:2231: error: 'accSmooth' was not declared in this scope
MultiWii_2.1_r1129.cpp:2240: error: 'angle' was not declared in this scope
MultiWii_2.1_r1129.cpp:2240: error: 'ROLL' was not declared in this scope
MultiWii_2.1_r1129.cpp:2241: error: 'PITCH' was not declared in this scope
MultiWii_2.1_r1129.cpp: In function 'void getEstimatedAltitude()':
MultiWii_2.1_r1129.cpp:2267: error: 'currentTime' was not declared in this scope
MultiWii_2.1_r1129.cpp:2268: error: 'currentTime' was not declared in this scope
MultiWii_2.1_r1129.cpp:2273: error: 'BaroAlt' was not declared in this scope
MultiWii_2.1_r1129.cpp:2317: error: 'AltHold' was not declared in this scope
MultiWii_2.1_r1129.cpp:2317: error: 'EstAlt' was not declared in this scope
MultiWii_2.1_r1129.cpp:2319: error: 'BaroPID' was not declared in this scope
MultiWii_2.1_r1129.cpp:2319: error: 'conf' was not declared in this scope
MultiWii_2.1_r1129.cpp:2319: error: 'PIDALT' was not declared in this scope
MultiWii_2.1_r1129.cpp:2322: error: 'errorAltitudeI' was not declared in this scope
MultiWii_2.1_r1129.cpp:2330: error: 'ROLL' was not declared in this scope
MultiWii_2.1_r1129.cpp:2330: error: 'PITCH' was not declared in this scope
MultiWii_2.1_r1129.cpp:2330: error: 'YAW' was not declared in this scope
MultiWii_2.1_r1129.cpp:2330: error: 'acc_1G' was not declared in this scope
MultiWii_2.1_r1129.cpp: In function 'void writeAllMotors(int16_t)':
MultiWii_2.1_r1129.cpp:4725: error: 'NUMBER_MOTOR' was not declared in this scope
MultiWii_2.1_r1129.cpp:4726: error: 'motor' was not declared in this scope
MultiWii_2.1_r1129.cpp: In function 'void initOutput()':
MultiWii_2.1_r1129.cpp:4737: error: 'NUMBER_MOTOR' was not declared in this scope
MultiWii_2.1_r1129.cpp:4738: error: 'PWM_PIN' was not declared in this scope
MultiWii_2.1_r1129.cpp:4870: error: 'MINCOMMAND' was not declared in this scope
MultiWii_2.1_r1129.cpp: In function 'void mixTable()':
MultiWii_2.1_r1129.cpp:5599: error: 'motor' was not declared in this scope
MultiWii_2.1_r1129.cpp:5600: error: 'NUMBER_MOTOR' was not declared in this scope
MultiWii_2.1_r1129.cpp:5602: error: 'NUMBER_MOTOR' was not declared in this scope
MultiWii_2.1_r1129.cpp:5603: error: 'MAXTHROTTLE' was not declared in this scope
MultiWii_2.1_r1129.cpp:5605: error: 'MINTHROTTLE' was not declared in this scope
MultiWii_2.1_r1129.cpp:5605: error: 'MAXTHROTTLE' was not declared in this scope
MultiWii_2.1_r1129.cpp:5606: error: 'rcData' was not declared in this scope
MultiWii_2.1_r1129.cpp:5606: error: 'THROTTLE' was not declared in this scope
MultiWii_2.1_r1129.cpp:5606: error: 'MINCHECK' was not declared in this scope
MultiWii_2.1_r1129.cpp:5612: error: 'f' was not declared in this scope
MultiWii_2.1_r1129.cpp:5613: error: 'MINCOMMAND' was not declared in this scope
MultiWii_2.1_r1129.cpp: At global scope:
MultiWii_2.1_r1129.cpp:5663: error: 'RC_CHANS' was not declared in this scope
MultiWii_2.1_r1129.cpp:5675: error: 'RC_CHANS' was not declared in this scope
MultiWii_2.1_r1129.cpp:5675: error: 'ROLLPIN' was not declared in this scope
MultiWii_2.1_r1129.cpp:5675: error: 'PITCHPIN' was not declared in this scope
MultiWii_2.1_r1129.cpp:5675: error: 'YAWPIN' was not declared in this scope
MultiWii_2.1_r1129.cpp:5675: error: 'THROTTLEPIN' was not declared in this scope
MultiWii_2.1_r1129.cpp:5675: error: 'AUX1PIN' was not declared in this scope
MultiWii_2.1_r1129.cpp:5675: error: 'AUX2PIN' was not declared in this scope
MultiWii_2.1_r1129.cpp:5675: error: 'AUX3PIN' was not declared in this scope
MultiWii_2.1_r1129.cpp:5675: error: 'AUX4PIN' was not declared in this scope
MultiWii_2.1_r1129.cpp:5676: error: 'PCINT_PIN_COUNT' was not declared in this scope
MultiWii_2.1_r1129.cpp:5676: error: 'PCINT_RX_BITS' was not declared in this scope
MultiWii_2.1_r1129.cpp: In function 'uint16_t readRawRC(uint8_t)':
MultiWii_2.1_r1129.cpp:6032: error: 'rcValue' was not declared in this scope
MultiWii_2.1_r1129.cpp:6032: error: 'rcChannel' was not declared in this scope
MultiWii_2.1_r1129.cpp: In function 'void computeRC()':
MultiWii_2.1_r1129.cpp:6042: error: 'RC_CHANS' was not declared in this scope
MultiWii_2.1_r1129.cpp:6051: error: 'rcData4Values' was not declared in this scope
MultiWii_2.1_r1129.cpp:6052: error: 'rcDataMean' was not declared in this scope
MultiWii_2.1_r1129.cpp:6055: error: 'rcData' was not declared in this scope
MultiWii_2.1_r1129.cpp:6056: error: 'rcData' was not declared in this scope
MultiWii_2.1_r1129.cpp: In function 'void i2c_init()':
MultiWii_2.1_r1129.cpp:6577: error: 'I2C_PULLUPS_DISABLE' was not declared in this scope
MultiWii_2.1_r1129.cpp:6578: error: 'I2C_SPEED' was not declared in this scope
MultiWii_2.1_r1129.cpp: In function 'void waitTransmissionI2C()':
MultiWii_2.1_r1129.cpp:6624: error: 'i2c_errors_count' was not declared in this scope
MultiWii_2.1_r1129.cpp: In function 'void GYRO_Common()':
MultiWii_2.1_r1129.cpp:6700: error: 'calibratingG' was not declared in this scope
MultiWii_2.1_r1129.cpp:6705: error: 'gyroADC' was not declared in this scope
MultiWii_2.1_r1129.cpp:6708: error: 'gyroZero' was not declared in this scope
MultiWii_2.1_r1129.cpp:6731: error: 'gyroADC' was not declared in this scope
MultiWii_2.1_r1129.cpp:6731: error: 'gyroZero' was not declared in this scope
MultiWii_2.1_r1129.cpp: In function 'void ACC_Common()':
MultiWii_2.1_r1129.cpp:6756: error: 'calibratingA' was not declared in this scope
MultiWii_2.1_r1129.cpp:6761: error: 'accADC' was not declared in this scope
MultiWii_2.1_r1129.cpp:6764: error: 'conf' was not declared in this scope
MultiWii_2.1_r1129.cpp:6768: error: 'conf' was not declared in this scope
MultiWii_2.1_r1129.cpp:6768: error: 'ROLL' was not declared in this scope
MultiWii_2.1_r1129.cpp:6769: error: 'PITCH' was not declared in this scope
MultiWii_2.1_r1129.cpp:6770: error: 'YAW' was not declared in this scope
MultiWii_2.1_r1129.cpp:6770: error: 'acc_1G' was not declared in this scope
MultiWii_2.1_r1129.cpp:6826: error: 'accADC' was not declared in this scope
MultiWii_2.1_r1129.cpp:6826: error: 'ROLL' was not declared in this scope
MultiWii_2.1_r1129.cpp:6826: error: 'conf' was not declared in this scope
MultiWii_2.1_r1129.cpp:6827: error: 'PITCH' was not declared in this scope
MultiWii_2.1_r1129.cpp:6828: error: 'YAW' was not declared in this scope
MultiWii_2.1_r1129.cpp: In function 'void initSensors()':
MultiWii_2.1_r1129.cpp:8023: error: 'POWERPIN_ON' was not declared in this scope
MultiWii_2.1_r1129.cpp:8027: error: 'GYRO' was not declared in this scope
MultiWii_2.1_r1129.cpp:8028: error: 'BARO' was not declared in this scope
MultiWii_2.1_r1129.cpp:8029: error: 'MAG' was not declared in this scope
MultiWii_2.1_r1129.cpp:8030: error: 'ACC' was not declared in this scope
MultiWii_2.1_r1129.cpp:8030: error: 'acc_25deg' was not declared in this scope
MultiWii_2.1_r1129.cpp:8030: error: 'acc_1G' was not declared in this scope
MultiWii_2.1_r1129.cpp:8031: error: 'SONAR' was not declared in this scope
MultiWii_2.1_r1129.cpp:8032: error: 'f' was not declared in this scope
MultiWii_2.1_r1129.cpp: In function 'void evaluateCommand()':
MultiWii_2.1_r1129.cpp:8225: error: 'rcData' was not declared in this scope
MultiWii_2.1_r1129.cpp:8242: error: 'PIDITEMS' was not declared in this scope
MultiWii_2.1_r1129.cpp:8243: error: 'conf' was not declared in this scope
MultiWii_2.1_r1129.cpp:8250: error: 'CHECKBOXITEMS' was not declared in this scope
MultiWii_2.1_r1129.cpp:8251: error: 'conf' was not declared in this scope
MultiWii_2.1_r1129.cpp:8256: error: 'conf' was not declared in this scope
MultiWii_2.1_r1129.cpp:8273: error: 'VERSION' was not declared in this scope
MultiWii_2.1_r1129.cpp:8274: error: 'MULTITYPE' was not declared in this scope
MultiWii_2.1_r1129.cpp:8280: error: 'cycleTime' was not declared in this scope
MultiWii_2.1_r1129.cpp:8281: error: 'i2c_errors_count' was not declared in this scope
MultiWii_2.1_r1129.cpp:8282: error: 'ACC' was not declared in this scope
MultiWii_2.1_r1129.cpp:8282: error: 'BARO' was not declared in this scope
MultiWii_2.1_r1129.cpp:8282: error: 'MAG' was not declared in this scope
MultiWii_2.1_r1129.cpp:8282: error: 'GPS' was not declared in this scope
MultiWii_2.1_r1129.cpp:8282: error: 'SONAR' was not declared in this scope
MultiWii_2.1_r1129.cpp:8315: error: 'f' was not declared in this scope
MultiWii_2.1_r1129.cpp:8315: error: 'BOXARM' was not declared in this scope
MultiWii_2.1_r1129.cpp:8319: error: 'accSmooth' was not declared in this scope
MultiWii_2.1_r1129.cpp:8320: error: 'gyroData' was not declared in this scope
MultiWii_2.1_r1129.cpp:8321: error: 'magADC' was not declared in this scope
MultiWii_2.1_r1129.cpp:8335: error: 'NUMBER_MOTOR' was not declared in this scope
MultiWii_2.1_r1129.cpp:8335: error: 'motor' was not declared in this scope
MultiWii_2.1_r1129.cpp:8340: error: 'rcData' was not declared in this scope
MultiWii_2.1_r1129.cpp:8361: error: 'angle' was not declared in this scope
MultiWii_2.1_r1129.cpp:8362: error: 'heading' was not declared in this scope
MultiWii_2.1_r1129.cpp:8363: error: 'headFreeModeHold' was not declared in this scope
MultiWii_2.1_r1129.cpp:8367: error: 'EstAlt' was not declared in this scope
MultiWii_2.1_r1129.cpp:8371: error: 'vbat' was not declared in this scope
MultiWii_2.1_r1129.cpp:8372: error: 'intPowerMeterSum' was not declared in this scope
MultiWii_2.1_r1129.cpp:8385: error: 'PIDITEMS' was not declared in this scope
MultiWii_2.1_r1129.cpp:8393: error: 'CHECKBOXITEMS' was not declared in this scope
MultiWii_2.1_r1129.cpp:8399: error: 'boxnames' was not declared in this scope
MultiWii_2.1_r1129.cpp:8403: error: 'pidnames' was not declared in this scope
MultiWii_2.1_r1129.cpp:8408: error: 'intPowerTrigger1' was not declared in this scope
MultiWii_2.1_r1129.cpp:8413: error: 'PWM_PIN' was not declared in this scope
MultiWii_2.1_r1129.cpp:8446: error: 'calibratingA' was not declared in this scope
MultiWii_2.1_r1129.cpp:8460: error: 'debug' was not declared in this scope

User avatar
jevermeister
Posts: 708
Joined: Wed Jul 20, 2011 8:56 am
Contact:

Re: Another compiling error with 1129

Post by jevermeister »

Enable buzzer

Post Reply