mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-07-13 02:07:53 +00:00
Add missing static keyword
This commit is contained in:
parent
0d8df1f6f9
commit
6fde97ed8f
@ -120,7 +120,7 @@ static void __attribute__((unused)) frskyx_rx_calibrate()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t __attribute__((unused)) frskyx_rx_check_crc()
|
static uint8_t __attribute__((unused)) frskyx_rx_check_crc()
|
||||||
{
|
{
|
||||||
uint8_t limit = packet_length - 4;
|
uint8_t limit = packet_length - 4;
|
||||||
uint16_t lcrc = frskyX_crc_x(&packet[3], limit - 3); // computed crc
|
uint16_t lcrc = frskyX_crc_x(&packet[3], limit - 3); // computed crc
|
||||||
@ -128,7 +128,7 @@ uint8_t __attribute__((unused)) frskyx_rx_check_crc()
|
|||||||
return lcrc == rcrc;
|
return lcrc == rcrc;
|
||||||
}
|
}
|
||||||
|
|
||||||
void __attribute__((unused)) frskyx_rx_build_telemetry_packet()
|
static void __attribute__((unused)) frskyx_rx_build_telemetry_packet()
|
||||||
{
|
{
|
||||||
uint16_t pxx_channel[8];
|
uint16_t pxx_channel[8];
|
||||||
uint32_t bits = 0;
|
uint32_t bits = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user