Skip to content

Commit

Permalink
Nuevo macro para mostrar floats y mejora al script de instalacion de …
Browse files Browse the repository at this point in the history
…reglas udev.
  • Loading branch information
guilledk committed Jul 19, 2016
1 parent 4b613f8 commit c751a9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ while true; do
* ) echo "Por favor ingrese 's' o 'n'.";;
esac
done

sudo udevadm trigger #reload udev rules
5 changes: 3 additions & 2 deletions src/include/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@
}

#define DEBUG_PRINT_D(a, b) printf(KBLU "%s" KRST "%s%d @ line %d in file '%s'.\n", INFO_H, a, (b), __LINE__, __FILE__);
#define DEBUG_PRINT_F(a, b) printf(KBLU "%s" KRST "%s%f @ line %d in file '%s'.\n", INFO_H, a, (b), __LINE__, __FILE__);
#define DEBUG_PRINT_S(a, b) printf(KBLU "%s" KRST "%s%s @ line %d in file '%s'.\n", INFO_H, a, b, __LINE__, __FILE__);

#else

#define DEBUG_PASSED_NULL_PTR(a) a;
#define DEBUG_PRINT_D(a, b) b;
#define DEBUG_PRINT_F(a, b) b;
#define DEBUG_PRINT_S(a, b) b;

#endif
Expand Down Expand Up @@ -69,4 +71,3 @@
#endif

#endif

0 comments on commit c751a9b

Please sign in to comment.