Displaying 2 results from an estimated 2 matches for "bcmxcp_config_block_part_number".
2010 Oct 20
0
[nut-commits] svn commit r2594 - branches/bcmxcp/drivers
...hetanagarwal-guest op alioth.debian.org>:
> + sPartNumber[16] = 0;
This is redundant. The snprintf function will take care of properly
terminating the string with a '\0' character, you don't need to do
that yourself.
> + snprintf(sPartNumber, 16, "%s", answer + BCMXCP_CONFIG_BLOCK_PART_NUMBER);
Don't hardcode '16' here, use 'sizeof(sPartNumber)' instead.
Best regards, Arjen
--
Please keep list traffic on the list (off-list replies will be rejected)
2013 Jul 03
1
bcmxcp: Patch for adding ups.load and battery.voltage.low
On Jul 2, 2013, at 5:16 PM, Kjell Claesson wrote:
>> I hope other people can also test this.
>>
>> Regards
>> Alf Hogemark
>
> Due to some crashes on the disks and lack of time I don't have the git on the
> pc now. But maybe some other can commit this.
I'd like to ask people to specifically try the bcmxcp branch on GitHub - it includes some changes