Skip to content

Commit abd26ee

Browse files
committed
Update SGF22_nrf24l01.ino
1 parent 98518b3 commit abd26ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Multiprotocol/SGF22_nrf24l01.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,9 @@ uint16_t SGF22_callback()
192192
{
193193
uint8_t p_len = XN297_ReadEnhancedPayload(packet_in, SGF22_PAYLOAD_SIZE);
194194
if(p_len == 3 && packet_in[0] == rx_tx_addr[2] && packet_in[1] == rx_tx_addr[3])
195-
{//packets only received when battery is low: 00 0B 01
195+
{//packets: 00 0B 00 -> 00 0B 01
196196
telemetry_link = 1;
197-
v_lipo1 = packet_in[2] ? 0 : 255;
197+
v_lipo1 = packet_in[2] ? 0 : 255; //2.9V for 1S, 7.0V for 2S
198198
}
199199
#if 0
200200
debug("L %d ",p_len);

0 commit comments

Comments
 (0)