Skip to content

Commit 0e72309

Browse files
author
Bander Ajba
committed
minor documentation and extra tabs removal fixes
1 parent 12a6cb0 commit 0e72309

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

nrf5/hal/hal_temp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ void hal_temp_init(void) {
3636
}
3737

3838
int32_t hal_temp_read(void) {
39-
int32_t volatile temp;
40-
hal_temp_init();
39+
int32_t volatile temp;
40+
hal_temp_init();
4141

4242
NRF_TEMP->TASKS_START = 1; // Start the temperature measurement.
4343

nrf5/modules/machine/temp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ STATIC void machine_temp_print(const mp_print_t *print, mp_obj_t o, mp_print_kin
4646

4747
(void)self;
4848

49-
mp_printf(print, "Temp.read()");
49+
mp_printf(print, "Temp");
5050
}
5151

5252
/******************************************************************************/

0 commit comments

Comments
 (0)