File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -101,10 +101,11 @@ static uint8_t beesignCRC(const beesign_frame_t *pPackage) {
101101 return crc ;
102102}
103103
104- static uint8_t beesignChkID (uint8_t id ) {
105- UNUSED (id );
106- return BEESIGN_OK ;
107- }
104+ // compiler reports unused
105+ //static uint8_t beesignChkID(uint8_t id) {
106+ // UNUSED(id);
107+ // return BEESIGN_OK;
108+ //}
108109
109110uint8_t beesignReceive (uint8_t * * pRcvFrame ) {
110111 if (!receiveFrameValid ) {
@@ -608,7 +609,7 @@ bool checkBeesignSerialPort(void) {
608609
609610void beesignUpdate (timeUs_t currentTimeUs ) {
610611 UNUSED (currentTimeUs );
611- if (checkBeesignSerialPort ) {
612+ if (checkBeesignSerialPort () ) {
612613#ifdef USE_OSD_BEESIGN
613614 static uint32_t beesignTaskCounter = 0 ;
614615 static uint32_t beesignSendNextCounterPoint = 0 ;
Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ const uint8_t vtxBsPi[SPEKTRUM_VTX_POWER_COUNT] = {
113113#endif // USE_VTX_BEESIGN
114114
115115uint8_t convertSpektrumVtxPowerIndex (uint8_t sPower ) {
116+ UNUSED (sPower );
116117 uint8_t devicePower = 0 ;
117118 const vtxDevice_t * vtxDevice = vtxCommonDevice ();
118119 switch (vtxCommonGetDeviceType (vtxDevice )) {
You can’t perform that action at this time.
0 commit comments