mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 14:03:55 +01:00
sys/shell: remove superfluous explicit cast
This commit is contained in:
parent
2a0a36945c
commit
9279733ed2
@ -225,14 +225,14 @@ int _sht_config_handler(int argc, char **argv)
|
||||
missing_argument(i - 1, argv);
|
||||
return -1;
|
||||
}
|
||||
temp_off = (int16_t)atoi(argv[i]);
|
||||
temp_off = atoi(argv[i]);
|
||||
break;
|
||||
case 'h':
|
||||
if (++i >= argc) {
|
||||
missing_argument(i - 1, argv);
|
||||
return -1;
|
||||
}
|
||||
hum_off = (int16_t)atoi(argv[i]);
|
||||
hum_off = atoi(argv[i]);
|
||||
break;
|
||||
case 'r':
|
||||
if (++i >= argc) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user