[X7] S.PORT devices update is now done on the bottom connector (#4457)
* [X7] S.PORT devices update is now done on the bottom connector * [X7] I introduce a PCBREV option, as previous versions didn't have this S.PORT bottom connector * [X7] Introduce a PCBREV PIN to avoid having different 2 different firmware on X7 * Compilation fix * [X7] PCBREV PIN was inverted * [X7] PULL DOWN on PCBREV PIN * S.PORT bottom connector is powered by PB.02, not PB.01 * [X7] PCBREV resistor changed * [X7] PCBREV resistor changed
This commit is contained in:
@@ -490,6 +490,10 @@ void telemetryPortSetDirectionOutput(void);
|
||||
void sportSendBuffer(uint8_t * buffer, uint32_t count);
|
||||
uint8_t telemetryGetByte(uint8_t * byte);
|
||||
|
||||
// Sport update driver
|
||||
#define SPORT_UPDATE_POWER_ON() EXTERNAL_MODULE_ON()
|
||||
#define SPORT_UPDATE_POWER_OFF() EXTERNAL_MODULE_OFF()
|
||||
|
||||
// Haptic driver
|
||||
void hapticInit(void);
|
||||
void hapticDone(void);
|
||||
|
||||
Reference in New Issue
Block a user