]> rtime.felk.cvut.cz Git - pes-rpp/rpp-test-sw.git/commitdiff
lout: Add missing "\n"
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 13 Apr 2016 14:24:40 +0000 (16:24 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 13 Apr 2016 14:24:40 +0000 (16:24 +0200)
rpp-test-sw/commands/cmd_lout.c

index b03dd8d77f2e6656e6ae10295ef9adf1ba5dc953..0d133e03c99ec7d9c52d200d61267b8b6412367e 100644 (file)
@@ -47,12 +47,12 @@ int cmd_do_lout_set(cmd_io_t *cmd_io, const struct cmd_des *des, char *param[])
                return -CMDERR_BADPAR;
        ret = rpp_lout_set(pin, val);
        if (ret == -1) {
-               rpp_sci_printf("Pin out of range.");
+               rpp_sci_printf("Pin out of range.\n");
                return -CMDERR_BADPAR;
        }
 
        if (rpp_lout_update() == FAILURE) {
-               rpp_sci_printf("LOUT update failed.");
+               rpp_sci_printf("LOUT update failed.\n");
                return -CMDERR_EIO;
        }
 
@@ -78,13 +78,13 @@ int cmd_do_lout_diag(cmd_io_t *cmd_io, const struct cmd_des *des, char *param[])
                return -CMDERR_BADPAR;
 
        if (rpp_lout_update() == FAILURE) {
-               rpp_sci_printf("LOUT update failed.");
+               rpp_sci_printf("LOUT update failed.\n");
                return -CMDERR_EIO;
        }
 
        ret = rpp_lout_diag(pin);
        if (ret == -1) {
-               rpp_sci_printf("Pin out of range.");
+               rpp_sci_printf("Pin out of range.\n");
                return -CMDERR_BADPAR;
        }