fixed some warnings
This commit is contained in:
parent
f320fb1ca6
commit
3bb9bf694e
@ -46,7 +46,7 @@ lib_deps =
|
||||
|
||||
[env:pcb_rev_1-3]
|
||||
;build_type = debug
|
||||
pcb_revision = 3
|
||||
custom_pcb_revision = 3
|
||||
build_flags =
|
||||
${env.build_flags}
|
||||
;-DFEATURE_ENABLE_WIFI_CLIENT
|
||||
@ -56,7 +56,7 @@ build_flags =
|
||||
-DFEATURE_ENABLE_WEBSOCKETS
|
||||
-DFEATURE_ENABLE_CAN
|
||||
-DCAN_DEBUG_MESSAGE
|
||||
-DPCB_REV=${this.pcb_revision}
|
||||
-DPCB_REV=${this.custom_pcb_revision}
|
||||
|
||||
board_build.ldscript = eagle.flash.4m1m.ld
|
||||
|
||||
@ -67,14 +67,14 @@ lib_deps =
|
||||
|
||||
[env:pcb_rev_1-2]
|
||||
;build_type = debug
|
||||
pcb_revision = 2
|
||||
custom_pcb_revision = 2
|
||||
build_flags =
|
||||
${env.build_flags}
|
||||
;-DFEATURE_ENABLE_WIFI_CLIENT
|
||||
;-DFEATURE_ENABLE_TIMER
|
||||
-DFEATURE_ENABLE_OLED
|
||||
-DFEATURE_ENABLE_WEBSOCKETS
|
||||
-DPCB_REV=${this.pcb_revision}
|
||||
-DPCB_REV=${this.custom_pcb_revision}
|
||||
|
||||
board_build.ldscript = eagle.flash.4m1m.ld
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
Import("env")
|
||||
|
||||
env.Replace(PROGNAME="firmware_pcb_1.%s.fw" % env.GetProjectOption("pcb_revision"))
|
||||
env.Replace(PROGNAME="firmware_pcb_1.%s.fw" % env.GetProjectOption("custom_pcb_revision"))
|
||||
|
@ -33,7 +33,7 @@ void Debug_Process()
|
||||
CMD_OVERFLOW
|
||||
} InputProcessed_t;
|
||||
|
||||
static int inputCnt = 0;
|
||||
static unsigned int inputCnt = 0;
|
||||
static char inputBuffer[32];
|
||||
InputProcessed_t InputProcessed = IDLE;
|
||||
|
||||
@ -334,7 +334,7 @@ void Debug_printHelp()
|
||||
{
|
||||
char buff[64];
|
||||
|
||||
for (int i = sizeof(helpCmd) / 63; i < sizeof(helpCmd) / 63; i++)
|
||||
for (unsigned int i = sizeof(helpCmd) / 63; i < sizeof(helpCmd) / 63; i++)
|
||||
{
|
||||
memcpy_P(buff, (helpCmd + (i * 63)), 63);
|
||||
buff[63] = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user