added some includes that should probably be in the header file

master
Ondřej Hruška 6 years ago
parent bb00e90e24
commit cc979602f3
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 2
      main.c
  2. 3
      ow_search.h

@ -16,7 +16,7 @@ int main(void)
// than could fit in the address buffer.
struct ow_search_state search_state;
ow_search_init(&search_state, 0xF0 /* SEARCH_ROM */, false /* checksums */);
ow_search_init(&search_state, 0xF0 /* SEARCH_ROM */, false /* checksums */);
// Buffer for the found addresses - can have up to 65536 rows
// Keep in mind that each address uses 8 bytes

@ -6,6 +6,9 @@
#ifndef OW_SEARCH_H
#define OW_SEARCH_H
#include <stdint.h>
#include <stdbool.h>
// --------------------------------------------------------------------------------------
// External API functions for interfacing the bus

Loading…
Cancel
Save