diff --git a/examples/sx127x_demo/sx127x_demo.c b/examples/sx127x_demo/sx127x_demo.c index 73032d88e..17be70a49 100644 --- a/examples/sx127x_demo/sx127x_demo.c +++ b/examples/sx127x_demo/sx127x_demo.c @@ -381,7 +381,8 @@ static int modulation_set(int fd, uint8_t modulation) printf("LORA modulation\n"); modulation = SX127X_MODULATION_LORA; - ret = ioctl(fd, SX127XIOC_MODULATIONSET, (unsigned long)&modulation); + ret = ioctl(fd, SX127XIOC_MODULATIONSET, + (unsigned long)&modulation); if (ret < 0) { printf("failed change modulation %d!\n", ret); @@ -395,7 +396,8 @@ static int modulation_set(int fd, uint8_t modulation) printf("FSK modulation\n"); modulation = SX127X_MODULATION_FSK; - ret = ioctl(fd, SX127XIOC_MODULATIONSET, (unsigned long)&modulation); + ret = ioctl(fd, SX127XIOC_MODULATIONSET, + (unsigned long)&modulation); if (ret < 0) { printf("failed change modulation %d!\n", ret); @@ -409,7 +411,8 @@ static int modulation_set(int fd, uint8_t modulation) printf("OOK modulation\n"); modulation = SX127X_MODULATION_OOK; - ret = ioctl(fd, SX127XIOC_MODULATIONSET, (unsigned long)&modulation); + ret = ioctl(fd, SX127XIOC_MODULATIONSET, + (unsigned long)&modulation); if (ret < 0) { printf("failed change modulation %d!\n", ret); @@ -613,7 +616,8 @@ int main(int argc, FAR char *argv[]) goto errout; } - printf("freq = %d max = %d min = %d free = %d\n", chanscan.freq, + printf("freq = %d max = %d min = %d free = %d\n", + chanscan.freq, chanscan.rssi_max, chanscan.rssi_min, chanscan.free); break;