Skip to content

Commit

Permalink
Update pru_msg_sys.c
Browse files Browse the repository at this point in the history
  • Loading branch information
orgua committed Apr 24, 2024
1 parent 5576a59 commit d38d77a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions software/kernel-module/src/pru_msg_sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <linux/delay.h>
#include <linux/hrtimer.h>
#include <linux/ktime.h>
#include <linux/mutex.h>
//#include <linux/mutex.h>

#include "pru_msg_sys.h"

Expand All @@ -19,7 +19,7 @@ static void ring_init(struct RingBuffer *const buf)
buf->start = 0u;
buf->end = 0u;
buf->active = 0u;
mutex_init(&buf->mutex);
//mutex_init(&buf->mutex);
}

static void ring_put(struct RingBuffer *const buf, const struct ProtoMsg *const element)
Expand Down

0 comments on commit d38d77a

Please sign in to comment.