I submitted a pull request
Changed hal_pru_generic.c to get rid of unnecessary error messages #1463
Changed calls to rtapi_print to call rtapi_print_msg with a lower priority
RTAPI_MSG_DBG.
This should allow the information to be available for debugging without showing
up everytime you start th
Feel free to make the change and submit a PR.
IIRC those were just for debug output and can be modified or removed
as needed. The primary goal of the hal_pru_generic code is to mimic
as close as possible the hm2 driver behavior, so that's the reference
standard.
On 2/23/2019 3:57 PM, Condit Alan
Charles,
As far as I can tell the problem is limited to rtapi_app_main and pru_init. In
looking at the code, in pru_init, it almost looks like you intended to take the
rtapi_print calls out after it was working, as they are not indented like the
rest of the code.
If I were to fix them, I would
On 2/23/2019 1:42 PM, mugginsac wrote:
> About a month ago Zultron "fixed" a logging problem. He changed rtapi_print
> from:
>
> void rtapi_print(const char *fmt, ...) {
> va_list args;
> va_start(args, fmt);
> rtapi_msg_handler(RTAPI_MSG_ERR, fmt, args);
> va_end(args);
> }
>
> to:
> void rtapi
About a month ago Zultron "fixed" a logging problem. He changed rtapi_print
from:
void rtapi_print(const char *fmt, ...) {
va_list args;
va_start(args, fmt);
rtapi_msg_handler(RTAPI_MSG_ERR, fmt, args);
va_end(args);
}
to:
void rtapi_print(const char *fmt, ...) {
va_list args;
va_start(args, fmt