Skip to content

Commit 7168a13

Browse files
committed
include:fix header file typo
Signed-off-by: Ajay Bhargav <[email protected]>
1 parent 1bb7a7f commit 7168a13

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

include/driver/onewire.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ extern "C" {
2020
/**
2121
* Register OneWire bus
2222
* @param pin [in] IO pin number @ref gpioname_e
23-
* @return On success, returns handle to OneWire Bus object. On error returns negative value.
23+
* @return On success, returns handle to OneWire Bus object. 0 on error (no memory)
2424
*/
2525
int OneWire(uint8_t pin);
2626

@@ -154,7 +154,9 @@ uint8_t ow_crc8(const uint8_t *addr, uint8_t len);
154154

155155
/**
156156
* Compute the 1-Wire CRC16 and compare it against the received CRC.
157+
*
157158
* Example usage (reading a DS2408):
159+
*
158160
* // Put everything in a buffer so we can compute the CRC easily.
159161
* uint8_t buf[13];
160162
* buf[0] = 0xF0; // Read PIO Registers

include/os_api.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ extern "C"
1313
{
1414
#endif
1515

16-
/**
17-
* Main Task ID
18-
*/
19-
#define main_taskid 0
20-
2116
/**
2217
* @name ev_flags
2318
* Event flags

include/timer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#ifndef INCLUDE_TIMER_H_
77
#define INCLUDE_TIMER_H_
88

9-
#include "../include/task_timer.h"
9+
#include "task_timer.h"
1010

1111
#ifdef __cplusplus
1212
extern "C" {

0 commit comments

Comments
 (0)