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

drivers/jc42 Minor formatting

This commit is contained in:
Koen Zandberg 2017-01-05 17:22:26 +01:00
parent 0f22e13ccb
commit 01092dd7ca
3 changed files with 7 additions and 8 deletions

View File

@ -63,13 +63,12 @@ void auto_init_jc42(void)
{
for (unsigned i = 0; i < JC42_NUMOF; i++) {
const jc42_params_t *p = &jc42_params[i];
if (jc42_init(&jc42_devs[i],
(jc42_params_t*) p) < 0) {
if (jc42_init(&jc42_devs[i], (jc42_params_t*) p) < 0)
{
LOG_ERROR("Unable to initialize jc42 sensor #%i\n", i);
return;
}
/* temperature */
saul_entries[i].dev = &(jc42_devs[i]);
saul_entries[i].name = jc42_saul_reg_info[i].name;