Skip to content
Snippets Groups Projects
Commit d88e24b4 authored by Patrick Robbe's avatar Patrick Robbe
Browse files

Add PCIe40 file

parent 73e660a2
Branches
Tags
No related merge requests found
#include "pcie40.h"
#include <stdio.h>
int p40_get_devname(int dev, const char* suffix, char *dst, size_t dstlen)
{
return snprintf(dst, dstlen, "/dev/pcie40_%d_%s", dev, suffix);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment