From 1f1ffc428f4584c39c2afed3f7d0fbc4d5d12e10 Mon Sep 17 00:00:00 2001 From: Rubberazer <47650457+Rubberazer@users.noreply.github.com> Date: Sun, 30 Jun 2024 12:12:31 +0200 Subject: [PATCH] adding Zig examples --- EXAMPLES_C++/spi_loop.cpp | 2 +- EXAMPLES_C/spi_loop.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/EXAMPLES_C++/spi_loop.cpp b/EXAMPLES_C++/spi_loop.cpp index 640da34..c2841a9 100644 --- a/EXAMPLES_C++/spi_loop.cpp +++ b/EXAMPLES_C++/spi_loop.cpp @@ -56,7 +56,7 @@ int main(int argc, char *argv[]) tx[5] = 0xFF; tx[6] = 0x11; - //Transfer data through register numbers for x, y & z axis + //Transfer data int i = 0; while (i<20){ diff --git a/EXAMPLES_C/spi_loop.c b/EXAMPLES_C/spi_loop.c index 42c2c32..0fbe089 100644 --- a/EXAMPLES_C/spi_loop.c +++ b/EXAMPLES_C/spi_loop.c @@ -60,7 +60,7 @@ int main(int argc, char *argv[]) tx[5] = 0xFF; tx[6] = 0x11; - //Transfer data through register numbers for x, y & z axis + //Transfer data int i = 0; while (i<20){