Compilation error

This commit is contained in:
bsongis
2013-02-08 13:23:45 +00:00
parent 992006217e
commit db21488060
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ void startPulses()
}
#if defined(PCBSKY9X)
#define PPM_PORT_PARAM uint32_t ppmPort=0
#define PPM_PORT_PARAM uint32_t ppmPort
#else
#define PPM_PORT_PARAM
#endif
+2
View File
@@ -163,6 +163,8 @@ void disable_ppm2();
void init_ssc();
void disable_ssc();
#define disable_pxx() disable_ssc()
// TODO illogical in the driver :(
void setupPulsesPPM(uint32_t ppmPort=0);
// SD driver
#if !defined(SIMU)
+1 -4
View File
@@ -34,15 +34,12 @@
#include "../open9x.h"
// TODO illogical in the driver :(
void setupPulsesPPM(uint32_t ppmPort=0);
void init_main_ppm( uint32_t period, uint32_t out_enable )
{
register Pio *pioptr ;
register Pwm *pwmptr ;
setupPulsesPPM() ;
setupPulsesPPM(0) ;
if ( out_enable )
{