Skip to content

Commit 1500abc

Browse files
committed
Minor changes
1 parent 3578aff commit 1500abc

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

src/busybox/compile.busybox

-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ cd "${BUILD_FOLDER}"
99

1010
make -j$(nproc) ARCH=arm || exit 1
1111
make install || exit 1
12-

src/ipc_cmd/ipc_cmd/ptz.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ int is_ptz(char *model) {
2626
} else if ((strcmp("r30gb", model) == 0) ||
2727
(strcmp("r35gb", model) == 0) ||
2828
(strcmp("r40ga", model) == 0) ||
29-
(strcmp("h60ga", model) == 0) ||
3029
(strcmp("q321br_lsx", model) == 0) ||
3130
(strcmp("qg311r", model) == 0) ||
3231
(strcmp("b091qp", model) == 0)) {
@@ -35,7 +34,8 @@ int is_ptz(char *model) {
3534

3635
} else if ((strcmp("h30ga", model) == 0) ||
3736
(strcmp("h51ga", model) == 0) ||
38-
(strcmp("h52ga", model) == 0)) {
37+
(strcmp("h52ga", model) == 0) ||
38+
(strcmp("h60ga", model) == 0)) {
3939

4040
return ALLWINNER_V2_ALT;
4141
} else {

src/rRTSPServer/src/OnDemandServerMediaSubsession_BC.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -344,11 +344,11 @@ char* OnDemandServerMediaSubsession_BC::getRtpMapLine(RTPSource* rtpSource) cons
344344
}
345345
char const* const rtpmapFmt = "a=rtpmap:%d %s/%d%s\r\n";
346346
unsigned rtpmapFmtSize = strlen(rtpmapFmt)
347-
+ 3 /* max char len */ + strlen("MPEG4-GENERIC")
347+
+ 3 /* max char len */ + strlen("mpeg4-generic")
348348
+ 20 /* max int len */ + strlen(encodingParamsPart);
349349
char* rtpmapLine = new char[rtpmapFmtSize];
350350
sprintf(rtpmapLine, rtpmapFmt,
351-
rtpSource->rtpPayloadFormat(), "MPEG4-GENERIC",
351+
rtpSource->rtpPayloadFormat(), "mpeg4-generic",
352352
rtpSource->timestampFrequency(), encodingParamsPart);
353353
delete[] encodingParamsPart;
354354

src/set_tz_offset/set_tz_offset/set_tz_offset.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include <errno.h>
1818
#include "set_tz_offset.h"
1919

20-
int tz_offset_osd_addr[34][2] = {
20+
int tz_offset_osd_addr[35][2] = {
2121
{ 0x4f4, 1 }, // Y203C
2222
{ 0x4a0, 1 }, // Y23
2323
{ 0x4f4, 1 }, // Y25
@@ -36,7 +36,8 @@ int tz_offset_osd_addr[34][2] = {
3636
{ 0x56c, 1 }, // H30GA_11
3737
{ 0x4e0, 1 }, // H51GA
3838
{ 0x4e0, 1 }, // H52GA
39-
{ 0x560, 1 }, // H60GA
39+
{ 0x560, 1 }, // H60GA_9
40+
{ 0x564, 1 }, // H60GA_12
4041
{ 0x4e0, 1 }, // Q321BR_LSX
4142
{ 0x4e0, 1 }, // Q705BR
4243
{ 0x4e0, 1 }, // QG311R

src/set_tz_offset/set_tz_offset/set_tz_offset.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ typedef enum {
6262
H30GA_11,
6363
H51GA,
6464
H52GA,
65-
H60GA,
65+
H60GA, // 9
66+
H60GA_12,
6667
Q321BR_LSX,
6768
Q705BR,
6869
QG311R,

src/static/static/home/yi-hack/script/configure_wifi.sh

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ CONNECTED_BIT=$(hexdump -s 24 -n 4 -v /dev/mtdblock6 | awk 'FNR <=1' | awk '{pri
4444

4545
echo $SSID ${#SSID} - $CURRENT_SSID ${#CURRENT_SSID}
4646
echo $KEY ${#KEY} - $CURRENT_KEY ${#CURRENT_KEY}
47+
echo $CONNECTED_BIT
4748

4849
if [ "$SSID" == "$CURRENT_SSID" ] && [ "$KEY" == "$CURRENT_KEY" ] && [ "$CONNECTED_BIT" == "00000000" ]; then
4950
echo "ssid and key already configured"

0 commit comments

Comments
 (0)