clean up warnings
This commit is contained in:
1 parent
7589540d2e
commit
a95ead5add
2 files changed
+3
-3
No files matched your search
@@ -182,7 +182,7 @@ void dbgDumpMemory(void const *buf, uint8_t size, uint16_t count, bool printOffs
|
||||
|
||||
const uint8_t item_per_line = 16 / size;
|
||||
|
||||
for(int i=0; i<count; i++)
|
||||
for(uint32_t i=0; i<count; i++)
|
||||
{
|
||||
uint32_t value=0;
|
||||
|
||||
@@ -246,7 +246,7 @@ void dbgDumpMemoryCFormat(const char* str, void const *buf, uint16_t count)
|
||||
|
||||
uint8_t const *buf8 = (uint8_t const *) buf;
|
||||
|
||||
for(int i=0; i<count; i++)
|
||||
for(uint32_t i=0; i<count; i++)
|
||||
{
|
||||
uint32_t value=0;
|
||||
|
||||
|
||||
@@ -169,7 +169,7 @@ uint32_t analogRead( uint32_t ulPin )
|
||||
uint32_t pin = SAADC_CH_PSELP_PSELP_NC;
|
||||
uint32_t saadcResolution;
|
||||
uint32_t resolution;
|
||||
int16_t value;
|
||||
volatile int16_t value = 0;
|
||||
|
||||
if (ulPin >= PINS_COUNT) {
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user