Skip to content

Commit c2c759a

Browse files
committed
Fix typos
Signed-off-by: tinyboxvk <[email protected]>
1 parent 5060516 commit c2c759a

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

scripts/pico_project.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ def GenerateCMake(folder, params):
790790
CMAKE_DO_NOT_EDIT_HEADER_PREFIX,
791791
)
792792
else:
793-
# Prexisting CMake configuration - just adding cmake_header_us
793+
# Preexisting CMake configuration - just adding cmake_header_us
794794
file.write(cmake_header_us)
795795
# If no PICO_BOARD, then add a line for that, defaulting to pico
796796
if not any(["set(PICO_BOARD" in line for line in lines]):
@@ -1372,7 +1372,7 @@ def DoEverything(params):
13721372
params["wantEntryProjName"],
13731373
)
13741374

1375-
# If we have any ancilliary files, copy them to our project folder
1375+
# If we have any ancillary files, copy them to our project folder
13761376
# Currently only the picow with lwIP support needs an extra file, so just check that list
13771377
for feat in features_and_examples:
13781378
if feat in features_list:

src/utils/downloadGit.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export async function downloadGit(
112112

113113
if (success) {
114114
// remove include section from gitconfig included in MiniGit
115-
// which hardcodes the a path in Programm Files to be used by this git executable
115+
// which hardcodes the a path in Program Files to be used by this git executable
116116
exec(
117117
`${
118118
process.env.ComSpec === "powershell.exe" ? "&" : ""

web/docs/usb_8h_source.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <span class="comment">// 0x04000000 [26] RX_OVERFLOW (0) RX overflow is raised by the Serial RX engine if the...</span></div>
196196
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> <span class="comment">// 0x02000000 [25] BIT_STUFF_ERROR (0) Bit Stuff Error</span></div>
197197
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <span class="comment">// 0x01000000 [24] CRC_ERROR (0) CRC Error</span></div>
198-
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <span class="comment">// 0x00800000 [23] ENDPOINT_ERROR (0) An endpoint has encounted an error</span></div>
198+
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <span class="comment">// 0x00800000 [23] ENDPOINT_ERROR (0) An endpoint has encountered an error</span></div>
199199
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <span class="comment">// 0x00080000 [19] BUS_RESET (0) Device: bus reset received</span></div>
200200
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <span class="comment">// 0x00040000 [18] TRANS_COMPLETE (0) Transaction complete</span></div>
201201
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> <span class="comment">// 0x00020000 [17] SETUP_REC (0) Device: Setup packet received</span></div>

web/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ var exampleSupportedBoards = [];
180180

181181
// if cmake version is null or not a number, smaller than 0 or bigger than 3, set it to 0
182182
if (cmakeMode === null || isNaN(cmakeMode) || cmakeMode < 0 || cmakeMode > 4) {
183-
// TODO: first check if defaul is supported
183+
// TODO: first check if default is supported
184184
cmakeMode = 0;
185185
console.debug('Invalid cmake version value: ' + cmakeMode.toString());
186186
vscode.postMessage({

web/nav.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ window.toggleCreateFromExampleMode = function (forceOn, forceOff) {
432432
word += isInputEmpty ? "" : "<b>" + i.substring(startIndex, startIndex + projectNameInput.value.length) + "</b>";
433433
word += i.substring(startIndex + projectNameInput.value.length);
434434

435-
// set value of li elemetn
435+
// set value of li element
436436
listItem.innerHTML = word;
437437
examplesList.appendChild(listItem);
438438
}

web/state.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class State {
4141
}
4242

4343
function restoreState(state) {
44-
console.debug("[raspbery-pi-pico - new project panel - state] Restoring state from previous session");
44+
console.debug("[raspberry-pi-pico - new project panel - state] Restoring state from previous session");
4545
// load state
4646
if (state.projectName) {
4747
document.getElementById('inp-project-name').value = state.projectName;
@@ -53,7 +53,7 @@ function restoreState(state) {
5353
// TODO: currently must be restorted before board type because otherwise
5454
// the change of board type would trigger the change listener sending version bundle message
5555
// this would undisable the pico2 board type and it does not get disabled again in the loading
56-
// So maybe restore the board type disable state after restoring the state to avaoid these conflicts
56+
// So maybe restore the board type disable state after restoring the state to avoid these conflicts
5757
if (state.selectedSDK) {
5858
document.getElementById('sel-pico-sdk').value = state.selectedSDK;
5959
}
@@ -201,7 +201,7 @@ function restoreState(state) {
201201
document.getElementById('btn-advanced-options').click();
202202
}
203203
if (!forceCreateFromExample && !doProjectImport && state.manuallyFromExample) {
204-
console.debug("[raspbery-pi-pico - new project panel - state] Manually triggering create from example");
204+
console.debug("[raspberry-pi-pico - new project panel - state] Manually triggering create from example");
205205

206206
// will crash the webview to set it on disable and click create from example
207207
/*const pni = document.getElementById('inp-project-name');

0 commit comments

Comments
 (0)