Skip to content

Instantly share code, notes, and snippets.

View tknapstad's full-sized avatar

Tarjei Knapstad tknapstad

  • Norbit ODM AS
  • Norway
View GitHub Profile
--- zephyr/drivers/spi/spi_ll_stm32.c 2022-05-16 14:34:57.051146688 +0200
+++ zephyr/drivers/spi/spi_ll_stm32.c 2022-05-16 14:33:08.026088060 +0200
@@ -204,18 +205,22 @@
static int spi_dma_move_buffers(const struct device *dev, size_t len)
{
struct spi_stm32_data *data = dev->data;
- int ret;
+ int ret = 0;
size_t dma_segment_len;
@tknapstad
tknapstad / nanomsg.spec
Created April 2, 2017 21:19
RPM spec file for nanomsg 1.0.0
# Don't create static libraries (unless we want to)
%bcond_with static
Name: nanomsg
Version: 1.0.0
Release: 1%{?dist}
Summary: A fast, scalable, and easy to use socket library
Group: System Environment/Libraries