diff options
author | Guillaume Knispel <gknispel@avencall.com> | 2012-07-05 19:56:13 +0200 |
---|---|---|
committer | Guillaume Knispel <gknispel@avencall.com> | 2012-07-05 19:56:13 +0200 |
commit | f77d27191ba4e81e90de283bc7bfd01a2c7ed6e6 (patch) | |
tree | 0c5d46ddb6c146b24f5ddc0dd041a9d371f72da0 /hardware.h | |
parent | 4313826dd3fbb0bc7424b7f2abcc383d3fd7688d (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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |