1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 22:13:52 +01:00

Merge pull request #2745 from authmillenon/style/tab-spaces

style: replace tabs with spaces in source
This commit is contained in:
Peter Kietzmann 2015-03-31 09:03:02 +02:00
commit e048d16b84
3 changed files with 10 additions and 10 deletions

View File

@ -291,7 +291,7 @@ static int riot_ccn_fib_test(int argc, char **argv)
DEBUG("%d: '%s'\n", i, big_buf);
printf("done: %d\n", i - 1);
return 0;
return 0;
}
#endif

View File

@ -39,11 +39,11 @@ int _get_lps331ap_init_handler(int argc, char **argv)
if (res) {
puts("Error initializing LPS331AP sensor.");
return 1;
return 1;
}
else {
puts("Initialized LPS331AP sensor with default values");
return 0;
return 0;
}
}

View File

@ -93,7 +93,7 @@ static int _rtc_getalarm(void)
}
else {
puts("rtc: error getting alarm");
return 1;
return 1;
}
}
@ -104,9 +104,9 @@ static int _rtc_setalarm(char **argv)
if (_parse_time(argv, &now) == 0) {
if (rtc_set_alarm(&now, _alarm_handler, NULL) == -1) {
puts("rtc: error setting alarm");
return 1;
return 1;
}
return 0;
return 0;
}
return 1;
}
@ -131,9 +131,9 @@ static int _rtc_settime(char **argv)
if (_parse_time(argv, &now) == 0) {
if (rtc_set_time(&now) == -1) {
puts("rtc: error setting time");
return 1;
return 1;
}
return 0;
return 0;
}
return 1;
}
@ -157,7 +157,7 @@ int _rtc_handler(int argc, char **argv)
{
if (argc < 2) {
_rtc_usage();
return 1;
return 1;
}
else if (strncmp(argv[1], "init", 4) == 0) {
rtc_init();
@ -185,7 +185,7 @@ int _rtc_handler(int argc, char **argv)
}
else {
printf("unknown command: %s\n", argv[1]);
return 1;
return 1;
}
return 0;
}