[Nut-upsdev] NUT and UPS TS Shara

hyouko at gmail.com hyouko at gmail.com
Sat Feb 1 02:14:49 UTC 2014


2014-01-31 hyouko at gmail.com <hyouko at gmail.com>:
> 2014-01-31 hyouko at gmail.com <hyouko at gmail.com>:
>> I changed a couple of things:
>> - https://github.com/zykh/nut/commit/ebae0e0e499e7983b4f26562451255a39abb023b#diff-38221201bf335e4da4e2dc77d5c6b3c2R478
>> - https://github.com/zykh/nut/commit/ebae0e0e499e7983b4f26562451255a39abb023b#diff-38221201bf335e4da4e2dc77d5c6b3c2R482
>
> Better links:
> https://github.com/zykh/nut/blob/ebae0e0e499e7983b4f26562451255a39abb023b/drivers/nutdrv_qx.c#L478
> https://github.com/zykh/nut/blob/ebae0e0e499e7983b4f26562451255a39abb023b/drivers/nutdrv_qx.c#L482
>

^ forget about these one.. shame on me..

mmh, so you are writing *n<=7byte_of_data_to_follow*+n_byte_of_data;
this should be the right version:
https://github.com/zykh/nut/blob/1d17ce355827fb02a98de4fcb53175a4c6ff540a/drivers/nutdrv_qx.c#L478
https://github.com/zykh/nut/blob/1d17ce355827fb02a98de4fcb53175a4c6ff540a/drivers/nutdrv_qx.c#L482

Does this make sense?



More information about the Nut-upsdev mailing list