summaryrefslogtreecommitdiff
path: root/hardware.h
diff options
context:
space:
mode:
authorGuillaume Knispel <gknispel@avencall.com>2012-07-05 19:56:13 +0200
committerGuillaume Knispel <gknispel@avencall.com>2012-07-05 19:56:13 +0200
commitf77d27191ba4e81e90de283bc7bfd01a2c7ed6e6 (patch)
tree0c5d46ddb6c146b24f5ddc0dd041a9d371f72da0 /hardware.h
parent4313826dd3fbb0bc7424b7f2abcc383d3fd7688d (diff)
multiple cleanups
Remove main.h (content moved in main.c) Declare InitPorts and GlobalInit as static. Move definition of states inside main.c, because reading the switch body is essential to understand some constraints on their values. Use stdint and stdbool. Lower case U8 and U16 (so they are named like in Linux) and change their definition to use uintX_t. Remove other unused typedefs. Differentiate the platform headers by including them with <>. Our own headers are included with "". Remove some empty lines to increase the coherency of vertical indentation.
Diffstat (limited to 'hardware.h')
-rw-r--r--hardware.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hardware.h b/hardware.h
index c598462..99e7334 100644
--- a/hardware.h
+++ b/hardware.h
@@ -1,9 +1,10 @@
/*
- * XIOHV5.12 power up & down sequence
+ * XIOHV5.12 power sequence
* Copyright (C) 2012 Avencall
* Authors:
* Jean Marc Ouvrard
* Noe Rubinstein
+ * Guillaume Knispel
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by