* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "sigrok.h"
-#include "sigrok-internal.h"
+#include "libsigrok.h"
+#include "libsigrok-internal.h"
#include "config.h"
#include "dso.h"
#include <string.h>
*/
bitvalue = 1;
for (i = 0; i < 24; i++) {
- // Each set bit inverts all bits with a lower value
+ /* Each set bit inverts all bits with a lower value. */
if(toff & bitvalue)
toff ^= bitvalue - 1;
bitvalue <<= 1;