[chirp_devel] bitwise struct syntax error

Craig Jones
Thu Jun 1 17:11:06 PDT 2023


Works. Thanks.

On 6/1/2023 4:26 PM, Dan Smith via chirp_devel wrote:
>> struct {
>>      channel low_limit;
>>      channel high_limit;
>> } vfo_scan_limits[5];
> I think your problem is that this should be "struct channel low_limit" like you do above for the memory array. In C parlance, there's no typedef of 'struct channel' to 'channel'.
>
>> Is this just a bug in the grammar? Or, is my definition of five pairs too complicated for bitwise?
>> Should I stick to an array of 10 scalars, and do the odd/even math in my code? Easy enough, but not nearly as elegant.
> I *think* you should be good (with the above) but yeah it might be pushing the limits.
>
> --Dan
> _______________________________________________
> chirp_devel mailing list
> chirp_devel at intrepid.danplanet.com
> http://intrepid.danplanet.com/mailman/listinfo/chirp_devel
> Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers

-- 
This email has been checked for viruses by AVG antivirus software.
www.avg.com



More information about the chirp_devel mailing list