sam3: fix pedantic compiler warnings
This commit is contained in:
parent
a82835a72b
commit
67c1084825
@ -27,6 +27,7 @@ void lpm_arch_init(void)
|
||||
|
||||
enum lpm_mode lpm_arch_set(enum lpm_mode target)
|
||||
{
|
||||
(void) target;
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -40,7 +40,7 @@ int random_read(char *buf, unsigned int num)
|
||||
{
|
||||
/* cppcheck-suppress variableScope */
|
||||
uint32_t tmp;
|
||||
int count = 0;
|
||||
unsigned count = 0;
|
||||
|
||||
while (count < num) {
|
||||
/* wait until new value is generated -> takes up to 84 cycles */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user