[riot-notifications] [RIOT-OS/RIOT] drivers/cc110x: Complete rewrite from scratch (#10340)

Marian Buschsieweke notifications at github.com
Wed Jan 23 17:14:32 CET 2019


maribu commented on this pull request.



> +    spi_init_cs(dev->params.spi, dev->params.cs);
+    return 0;
+}
+
+uint8_t cc110x_read(cc110x_t *dev, uint8_t addr, uint8_t *dest)
+{
+    uint8_t status;
+
+    addr |= CC110X_SINGLE_BYTE_READ;
+    spi_transfer_bytes(dev->params.spi, dev->params.cs, true,
+                       &addr, &status, 1);
+    spi_transfer_bytes(dev->params.spi, dev->params.cs, false, NULL, dest, 1);
+    return status;
+}
+
+uint8_t cc110x_read_workarround(cc110x_t *dev, uint8_t addr, uint8_t *dest)

Fixed in 1ca319ba8fc188272081768c7712fd659dcef111

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10340#discussion_r250263947
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190123/33c3e297/attachment.html>


More information about the notifications mailing list