2020-09-14 08:23:50 +00:00
|
|
|
/*
|
|
|
|
* misc.h
|
|
|
|
*
|
|
|
|
* Copyright (C) 2019-2020 Sylvain Munaut <tnt@246tNt.com>
|
|
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
void vio_set(unsigned value);
|
|
|
|
|
|
|
|
void e1_tick_read(uint16_t *ticks);
|
2020-10-29 12:19:05 +00:00
|
|
|
|
|
|
|
void reboot(int fw);
|