diff options
author | James McKenzie <git@madingley.org> | 2015-08-03 10:34:07 +0100 |
---|---|---|
committer | James McKenzie <git@madingley.org> | 2015-08-03 10:34:07 +0100 |
commit | 061430973e82995368d27ff9081391f9475da3c7 (patch) | |
tree | 62ac12e6cff789050ca17f00ac70d85de75e3efd /app/prototypes.h | |
parent | 23e5d273ef3e11c8ad463c632daa5a52684bc5bb (diff) | |
download | candlestick-061430973e82995368d27ff9081391f9475da3c7.tar.gz candlestick-061430973e82995368d27ff9081391f9475da3c7.tar.bz2 candlestick-061430973e82995368d27ff9081391f9475da3c7.zip |
fish
Diffstat (limited to 'app/prototypes.h')
-rw-r--r-- | app/prototypes.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/prototypes.h b/app/prototypes.h index 7f5498a..9a89a8c 100644 --- a/app/prototypes.h +++ b/app/prototypes.h @@ -52,7 +52,12 @@ extern void lcd_reset(void); extern void lcd_init(void); extern void lcd_shutdown(void); /* keypad.c */ -extern int i2c2_bb(int scl, int sda); +extern uint16_t keypad_raw_read(void); extern uint16_t keypad_read(void); extern void keypad_tick(void); extern void keypad_init(void); +/* code.c */ +extern void code_display(void); +extern int vendor_control_request(usbd_device *usbd_dev, struct usb_setup_data *req, uint8_t **buf, uint16_t *len, int (**complete)(usbd_device *usbd_dev, struct usb_setup_data *req)); +extern void code_tick(void); +extern void key_event(uint8_t v, int ud); |