Commit 5db61b5c by malcolm

Broke everything

parent b83df919
Showing with 1 additions and 4 deletions
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#define _PIT_INC #define _PIT_INC
#include <stdint.h> #include <stdint.h>
#include <stdbool.h>
//OCW masks //OCW masks
#define PIT_OCW_BINC 0x01 #define PIT_OCW_BINC 0x01
...@@ -34,10 +35,6 @@ ...@@ -34,10 +35,6 @@
#define PIT_REG_CONT_2 0x42 #define PIT_REG_CONT_2 0x42
#define PIT_REG_COMD 0x43 #define PIT_REG_COMD 0x43
#define true 1
#define false 0
#define bool uint8_t
void pit_command(uint8_t cmd); void pit_command(uint8_t cmd);
void pit_write(uint16_t data, uint8_t counter); void pit_write(uint16_t data, uint8_t counter);
uint8_t pit_read(uint16_t counter); uint8_t pit_read(uint16_t counter);
......
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 sign in to comment