Skip to content

Commit

Permalink
fix incorrect func indices for fmod & sensing_resettimer
Browse files Browse the repository at this point in the history
  • Loading branch information
pufferfish101007 committed Aug 30, 2023
1 parent 204ff40 commit e865f58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/targets/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -543,10 +543,10 @@ pub mod func_indices {
pub const MATHOP_POW_E: u32 = 22;
pub const MATHOP_POW10: u32 = 23;
pub const SENSING_TIMER: u32 = 24;
pub const SENSING_RESETTIMER: u32 = 24;
pub const SENSING_RESETTIMER: u32 = 25;

/* wasm funcs */
pub const FMOD: u32 = 25;
pub const FMOD: u32 = 26;
pub const CAST_FLOAT_BOOL: u32 = 27;
pub const CAST_BOOL_FLOAT: u32 = 28;
pub const CAST_BOOL_STRING: u32 = 29;
Expand Down

0 comments on commit e865f58

Please sign in to comment.