Updated formatting with astyle -A14 -S

Signed-off-by: A.M. Rowsell <amrowsell@frozenelectronics.ca>
This commit is contained in:
A.M. Rowsell 2019-03-04 12:58:17 -05:00
commit 7c5dfae57b
Signed by: amr
GPG key ID: 0B6E2D8375CF79A9
7 changed files with 651 additions and 638 deletions

View file

@ -16,9 +16,9 @@
* Structure that holds all the information about onewire connections, including the 64-bit ROM address for each device and some buffer memory to read out the scratchpad
*/
typedef struct {
uint8_t address[8];
uint8_t scratchpad[9];
float temperature;
uint8_t address[8];
uint8_t scratchpad[9];
float temperature;
} oneWire_t;
/**
@ -26,16 +26,16 @@ typedef struct {
* This enum simply gives easy to read names to all the various one-wire commands that the DS18B20 can accept
*/
typedef enum {
READ_ROM = 0x33,
MATCH_ROM = 0x55,
SEARCH_ROM = 0xF0,
ALARM_SEARCH = 0xEC,
SKIP_ROM = 0xCC,
CONVERT_T = 0x44,
SCRATCH_READ = 0xBE,
SCRATCH_WRITE = 0x4E,
SCRATCH_COPY = 0x48,
E2_RECALL = 0xB8
READ_ROM = 0x33,
MATCH_ROM = 0x55,
SEARCH_ROM = 0xF0,
ALARM_SEARCH = 0xEC,
SKIP_ROM = 0xCC,
CONVERT_T = 0x44,
SCRATCH_READ = 0xBE,
SCRATCH_WRITE = 0x4E,
SCRATCH_COPY = 0x48,
E2_RECALL = 0xB8
} ds18b20_cmds;
/**