board: Factor out Chunithm slider

This commit is contained in:
Tau 2019-01-17 14:07:59 -05:00
parent 6416ef6e95
commit 8036ff71ec
6 changed files with 10 additions and 9 deletions

View File

@ -22,5 +22,8 @@ board_lib = static_library(
'sg-nfc-cmd.h',
'sg-frame.c',
'sg-frame.h',
'slider-cmd.h',
'slider-frame.c',
'slider-frame.h',
],
)

View File

@ -1,6 +1,6 @@
#pragma once
#include "chunihook/slider-frame.h"
#include "board/slider-frame.h"
enum {
SLIDER_CMD_AUTO_SCAN = 0x01,

View File

@ -5,7 +5,7 @@
#include <stddef.h>
#include <stdint.h>
#include "chunihook/slider-frame.h"
#include "board/slider-frame.h"
#include "hook/iobuf.h"

View File

@ -21,9 +21,6 @@ shared_library(
'dllmain.c',
'jvs.c',
'jvs.h',
'slider-cmd.h',
'slider-frame.c',
'slider-frame.h',
'slider-hook.c',
'slider-hook.h',
],

View File

@ -6,11 +6,9 @@
#include <stdint.h>
#include <string.h>
#include "util/dprintf.h"
#include "util/dump.h"
#include "board/slider-cmd.h"
#include "board/slider-frame.h"
#include "chunihook/slider-cmd.h"
#include "chunihook/slider-frame.h"
#include "chunihook/slider-hook.h"
#include "hook/iobuf.h"
@ -18,6 +16,9 @@
#include "hooklib/uart.h"
#include "util/dprintf.h"
#include "util/dump.h"
static HRESULT slider_handle_irp(struct irp *irp);
static HRESULT slider_handle_irp_locked(struct irp *irp);