Re: [sigrok-devel] Coding style question

2018-09-29 Thread Uwe Hermann
Hi, On Thu, Sep 27, 2018 at 08:49:25PM +0200, Albert Green wrote: > Hi, > I'm in the process a writing a libsigrok driver for a new device and I want > to have my code formatted according to your rules. > I read that you are using the Linux coding style. Can you confirm that you > are using tabs t

Re: [sigrok-devel] Coding style question

2018-09-29 Thread Soeren Apel
Hello Albert, I personally use 4-char tabs but it's not a requirement. We don't enforce the 80 char rule strictly because there are corner cases where the code is much more readable when allowed to exceed the 80 char limit on a few lines. Readability is king and we live in 2018 after all :) Reg

[sigrok-devel] Coding style question

2018-09-27 Thread Albert Green
Hi, I'm in the process a writing a libsigrok driver for a new device and I want to have my code formatted according to your rules. I read that you are using the Linux coding style. Can you confirm that you are using tabs that are 8 chars wide? Because when I look at some parts of sigrok code with m