Skip to content

Commit

Permalink
Moved VM stack size definition to rishka_vm.h
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Mar 6, 2024
1 parent 2374715 commit e1c1fab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/rishka.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
#ifndef RISHKA_H
#define RISHKA_H

#define RISHKA_VM_STACK_SIZE 32768U ///< Define the stack size for the Rishka virtual machine.

#include <Arduino.h> ///< Include Arduino core library.
#include <SD.h> ///< Include SD card library.
#include <SPI.h> ///< Include SPI communication library.
Expand Down
2 changes: 2 additions & 0 deletions src/rishka_vm.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
#include <List.hpp> ///< List container for file handles.
#include <SD.h> ///< SD card library for file operations.

#define RISHKA_VM_STACK_SIZE 32768U ///< Define the stack size for the Rishka virtual machine.

/**
* @brief Structure representing a Rishka virtual machine instance.
*/
Expand Down

0 comments on commit e1c1fab

Please sign in to comment.