Salve. Un pubblico ringraziamento a TermicOne per l'indispensabile semplice e chiaro aiuto fornito con la guida per newbies che si può reperire qui http://www.baronerosso.it/forum/mode...-firmware.html
Detto ciò, veniamo al dunque: ho un quadri con Flyduino Mega (atmega 2560) completa di FreeImu 0.4.3 10DOF e relativa Flydusense, modulo GPS FMP04 montato su BOB Flyduino. Ho modificato il config.h per quadri-X e decommentato le voci che mi serve far funzionare. Quando vado a ricaricare sulla eeprom mi viene fuori questo errore:
Sensors:519: error: redefinition of 'int32_t pressure'
Sensors:377: error: 'int32_t pressure' previously declared here
MultiWii_2_1x.cpp: In function 'void Baro_init()':
Sensors:548: error: redefinition of 'void Baro_init()'
Sensors:403: error: 'void Baro_init()' previously defined here
MultiWii_2_1x.cpp: In function 'void Baro_update()':
Sensors:614: error: redefinition of 'void Baro_update()'
Sensors:471: error: 'void Baro_update()' previously defined here
MultiWii_2_1x.cpp: In function 'void Gyro_init()':
Sensors:1103: error: redefinition of 'void Gyro_init()'
Sensors:905: error: 'void Gyro_init()' previously defined here
MultiWii_2_1x.cpp: In function 'void Gyro_getADC()':
Sensors:1116: error: redefinition of 'void Gyro_getADC()'
Sensors:917: error: 'void Gyro_getADC()' previously defined here
MultiWii_2_1x.cpp: In function 'void ACC_init()':
Sensors:1124: error: redefinition of 'void ACC_init()'
Sensors:710: error: 'void ACC_init()' previously defined here
MultiWii_2_1x.cpp: In function 'void ACC_getADC()':
Sensors:1146: error: redefinition of 'void ACC_getADC()'
Sensors:733: error: 'void ACC_getADC()' previously defined here
Qualcuno può aiutarmi?!? (i love you apm2 ) Grazie anticipatamente.
Detto ciò, veniamo al dunque: ho un quadri con Flyduino Mega (atmega 2560) completa di FreeImu 0.4.3 10DOF e relativa Flydusense, modulo GPS FMP04 montato su BOB Flyduino. Ho modificato il config.h per quadri-X e decommentato le voci che mi serve far funzionare. Quando vado a ricaricare sulla eeprom mi viene fuori questo errore:
Sensors:519: error: redefinition of 'int32_t pressure'
Sensors:377: error: 'int32_t pressure' previously declared here
MultiWii_2_1x.cpp: In function 'void Baro_init()':
Sensors:548: error: redefinition of 'void Baro_init()'
Sensors:403: error: 'void Baro_init()' previously defined here
MultiWii_2_1x.cpp: In function 'void Baro_update()':
Sensors:614: error: redefinition of 'void Baro_update()'
Sensors:471: error: 'void Baro_update()' previously defined here
MultiWii_2_1x.cpp: In function 'void Gyro_init()':
Sensors:1103: error: redefinition of 'void Gyro_init()'
Sensors:905: error: 'void Gyro_init()' previously defined here
MultiWii_2_1x.cpp: In function 'void Gyro_getADC()':
Sensors:1116: error: redefinition of 'void Gyro_getADC()'
Sensors:917: error: 'void Gyro_getADC()' previously defined here
MultiWii_2_1x.cpp: In function 'void ACC_init()':
Sensors:1124: error: redefinition of 'void ACC_init()'
Sensors:710: error: 'void ACC_init()' previously defined here
MultiWii_2_1x.cpp: In function 'void ACC_getADC()':
Sensors:1146: error: redefinition of 'void ACC_getADC()'
Sensors:733: error: 'void ACC_getADC()' previously defined here
Qualcuno può aiutarmi?!? (i love you apm2 ) Grazie anticipatamente.
Commenta