Commit 9db68cb4 authored by Alessandro Rubini's avatar Alessandro Rubini

userspace/include: move pps_gen.h to libwr/

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent d8b2c1e0
/* PPS Generator - a.k.a. WR Real-time clock driver */
#ifndef __PPS_GEN_H
#define __PPS_GEN_H
#ifndef __LIBWR_PPS_GEN_H
#define __LIBWR_PPS_GEN_H
#include <stdio.h>
#include <inttypes.h>
......@@ -24,4 +24,4 @@ int shw_pps_gen_enable_output(int enable);
/* Reads the current time and stores at <seconds,nanoseconds>. */
void shw_pps_gen_read_time(uint64_t *seconds, uint32_t *nanoseconds);
#endif
#endif /* __LIBWR_PPS_GEN_H */
......@@ -3,8 +3,8 @@
#include <libwr/pio.h>
#include "trace.h"
#include "pps_gen.h"
#include <libwr/fan.h>
#include <libwr/pps_gen.h>
#include <libwr/fan.h>
/* Some global, very important constants */
......
......@@ -4,7 +4,7 @@
#include <stdlib.h>
#include <trace.h>
#include <pps_gen.h> /* for direct access to DMPLL and PPS generator */
#include <libwr/pps_gen.h> /* for direct access to DMPLL and PPS generator */
#include "wrsw_hal.h"
#include "rt_ipc.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment