Skip to content

Commit

Permalink
updates github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bytecod3 committed Aug 6, 2024
1 parent 6f97b2e commit df92d52
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 24 deletions.
25 changes: 5 additions & 20 deletions .github/workflows/doxygen-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
name: Doxygen Action

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
# events but only for the master branch
on:
push:
branches: [ main ]
Expand All @@ -21,32 +21,17 @@ jobs:
- uses: actions/checkout@v2

- name: Doxygen Action
- uses: mattnotmitt/[email protected]
uses: mattnotmitt/[email protected]
with:
# Path to Doxyfile
doxyfile-path: "Doxyfile" # default is ./Doxyfile
doxyfile-path: "./Doxyfile" # default is ./Doxyfile
# Working directory
working-directory: "n4-flight-software" # default is .
- run: pwd
- run: ls -l
working-directory: "." # default is .

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# Default Doxyfile build documentation to html directory.
# Change the directory if changes in Doxyfile
publish_dir: docs/html



# deploy:
# runs-on: ubuntu0latest
# steps:
# - uses: DenverCoder1/[email protected]
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# branch: gh-pages
# folder: docs/html
# config_file: Doxyfile

publish_dir: ./docs/html
8 changes: 4 additions & 4 deletions n4-flight-software/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1255,19 +1255,19 @@ void setup(){

/* check if the queues were created successfully */
if(accel_data_qHandle == NULL){
debugln("[-]accel data queue creation failed!");
debugln("[-]accel data queue creation failed");
} else{
debugln("[+]Acceleration data queue creation OK.");
}

if(altimeter_data_qHandle == NULL){
debugln("[-]Altimeter data queue creation failed!");
debugln("[-]Altimeter data queue creation failed");
} else{
debugln("[+]Altimeter data queue creation OK.");
}

if(gps_data_qHandle == NULL){
debugln("[-]GPS data queue creation failed!");
debugln("[-]GPS data queue creation failed");
} else{
debugln("[+]GPS data queue creation OK.");
}
Expand Down Expand Up @@ -1361,7 +1361,7 @@ void setup(){
debugln("[-}Failed to create flightStateCallback task");
}

#if DEBUG_TO_TERMINAL // set SEBUG_TO_TERMINAL to 0 to prevent serial debug data to serial monitor
#if DEBUG_TO_TERMINAL // set DEBUG_TO_TERMINAL to 0 to prevent serial debug data to serial monitor

/* TASK 7: DISPLAY DATA ON SERIAL MONITOR - FOR DEBUGGING */
th = xTaskCreatePinnedToCore(debugToTerminalTask,"debugToTerminalTask",STACK_SIZE,NULL,1,NULL,app_id);
Expand Down

0 comments on commit df92d52

Please sign in to comment.