Skip to content

Commit f736afb

Browse files
timgates42dpgeorge
authored andcommitted
drivers,ports: Fix a few typos in comments.
Fixes: - Should read `definitions` rather than `defintions`. - Should read `resolution` rather than `resoultion`. - Should read `inefficient` rather than `inefficent`. - Should read `closed` rather than `closded`. Signed-off-by: Tim Gates <[email protected]>
1 parent 924e55a commit f736afb

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

drivers/cc3000/src/evnt_handler.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ INT32 hci_unsol_event_handler(CHAR *event_hdr)
604604
{
605605
//data[0] represents the socket id, for which FIN was received by remote.
606606
//Upon receiving this event, the user can close the socket, or else the
607-
//socket will be closded after inacvitity timeout (by default 60 seconds)
607+
//socket will be closed after inacvitity timeout (by default 60 seconds)
608608
tSLInformation.sWlanCB(event_type, data, 1);
609609
}
610610
}

ports/mimxrt/hal/flexspi_flash_config.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
#define FSL_XIP_BOARD_DRIVER_VERSION (MAKE_VERSION(2, 0, 0))
1919
/*@}*/
2020

21-
/* FLEXSPI memory config block related defintions */
21+
/* FLEXSPI memory config block related definitions */
2222
#define FLEXSPI_CFG_BLK_TAG (0x42464346UL) // ascii "FCFB" Big Endian
2323
#define FLEXSPI_CFG_BLK_VERSION (0x56010400UL) // V1.4.0
2424
#define FLEXSPI_CFG_BLK_SIZE (512)
2525

2626
/* FLEXSPI Feature related definitions */
2727
#define FLEXSPI_FEATURE_HAS_PARALLEL_MODE 1
2828

29-
/* Lookup table related defintions */
29+
/* Lookup table related definitions */
3030
#define CMD_INDEX_READ 0
3131
#define CMD_INDEX_READSTATUS 1
3232
#define CMD_INDEX_WRITEENABLE 2

ports/stm32/adc.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
/// val = adc.read_core_vbat() # read MCU VBAT
5151
/// val = adc.read_core_vref() # read MCU VREF
5252

53-
/* ADC defintions */
53+
/* ADC definitions */
5454
#define ADCx (ADC1)
5555
#define PIN_ADC_MASK PIN_ADC1
5656
#define pin_adc_table pin_adc1
@@ -171,8 +171,8 @@
171171
#define EOC_TIMEOUT (10)
172172

173173
/* Core temperature sensor definitions */
174-
#define CORE_TEMP_V25 (943) /* (0.76v/3.3v)*(2^ADC resoultion) */
175-
#define CORE_TEMP_AVG_SLOPE (3) /* (2.5mv/3.3v)*(2^ADC resoultion) */
174+
#define CORE_TEMP_V25 (943) /* (0.76v/3.3v)*(2^ADC resolution) */
175+
#define CORE_TEMP_AVG_SLOPE (3) /* (2.5mv/3.3v)*(2^ADC resolution) */
176176

177177
// scale and calibration values for VBAT and VREF
178178
#define ADC_SCALE (ADC_SCALE_V / ((1 << ADC_CAL_BITS) - 1))

ports/teensy/core/pins_teensy.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ void portb_isr(void)
181181

182182
void portc_isr(void)
183183
{
184-
// TODO: these are inefficent. Use CLZ somehow....
184+
// TODO: these are inefficient. Use CLZ somehow....
185185
uint32_t isfr = PORTC_ISFR;
186186
PORTC_ISFR = isfr;
187187
if ((isfr & CORE_PIN9_BITMASK) && intFunc[9]) intFunc[9]();

0 commit comments

Comments
 (0)